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 Sep 4, 2012, 3:58 p.m. EDT 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 Sep 4, 2012, 9:16 p.m. EDT