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.
postprocessing a new variable in matlab linked with comsol
Posted Nov 16, 2010, 11:14 a.m. EST 2 Replies
Please login with a confirmed email address before reporting spam
Hi
i built a model in comsol and solved it in matlab. i have to add some new variables in matlab code. when i solve the code again, i can not plot these new variables. for example i have a variable named "CC" and
postplot(fem, ...
'tridata',{'CC','cont','internal','unit','Pa'}, ...
'trimap','Rainbow', ...
'title','Surface: Pressure [Pa]', ...
'axis',[-0.18761703121535322,0.08761702227465648,-0.08600000590085984,0.04599999934434891]);
it shows this error
xception:
com.femlab.jni.FlNativeException: Failed to evaluate expression
Messages:
Failed to evaluate expression
- Expression: CC
Failed to evaluate variable
- Variable: CC
- Geometry: 1
- Subdomain: 1
Undefined post expression
How can i plot my new variable?
any answer would be appriciated
with best regards,
fatemeh sharifi
i built a model in comsol and solved it in matlab. i have to add some new variables in matlab code. when i solve the code again, i can not plot these new variables. for example i have a variable named "CC" and
postplot(fem, ...
'tridata',{'CC','cont','internal','unit','Pa'}, ...
'trimap','Rainbow', ...
'title','Surface: Pressure [Pa]', ...
'axis',[-0.18761703121535322,0.08761702227465648,-0.08600000590085984,0.04599999934434891]);
it shows this error
xception:
com.femlab.jni.FlNativeException: Failed to evaluate expression
Messages:
Failed to evaluate expression
- Expression: CC
Failed to evaluate variable
- Variable: CC
- Geometry: 1
- Subdomain: 1
Undefined post expression
How can i plot my new variable?
any answer would be appriciated
with best regards,
fatemeh sharifi
2 Replies Last Post Nov 17, 2010, 2:11 a.m. EST