Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Will COMSOL reset matlab global variable in each step?
Posted 4 sept. 2012, 15:58 UTC−4 Parameters, Variables, & Functions Version 4.3 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I am doing parametric sweep in COMSOL v4.3. the COMSOL model is connected with a matlab funtion fun() which has a global variable G inside. Will COMSOL clear/reset this G for each parameter automatically? If not, How to set up in COMSOL to make sure that G starts with 0 for each parametric sweep input?
Thank you
Dan
I am doing parametric sweep in COMSOL v4.3. the COMSOL model is connected with a matlab funtion fun() which has a global variable G inside. Will COMSOL clear/reset this G for each parameter automatically? If not, How to set up in COMSOL to make sure that G starts with 0 for each parametric sweep input?
Thank you
Dan
2 Replies Last Post 4 sept. 2012, 21:16 UTC−4