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.
Comsol 3.5a Matlab flsave
Posted 6 sept. 2011, 01:58 UTC−4 2 Replies
Please login with a confirmed email address before reporting spam
Hi.
I have some problems with connecting Matlab 2008a (7.6?) to Comsol 3.5a - I'm using a model build by my colleagues and after exporting it to Matlab, and after making some changes in the material properties of subdomains -
fem.equ.ind(3)=2;
and doing simulations:
fem.xmesh = meshextend(fem);
fem.sol = femnlin(fem);
postsurf(fem,'normB_emqa')
everything seems to be ok.. but ... after this when I save the fem structure using:
flsave model1 fem;
When I open the model1 in Comsol the field of a material property is unchanged (there is a lock near the subdomain.... )...
My aim is to change material properties of subdomains in Matlab, take caluclations in Matlab, evaluate - but I want to have calculated models in Comsol.
Thanks in advance for any help.
Rafał Piotuch
I have some problems with connecting Matlab 2008a (7.6?) to Comsol 3.5a - I'm using a model build by my colleagues and after exporting it to Matlab, and after making some changes in the material properties of subdomains -
fem.equ.ind(3)=2;
and doing simulations:
fem.xmesh = meshextend(fem);
fem.sol = femnlin(fem);
postsurf(fem,'normB_emqa')
everything seems to be ok.. but ... after this when I save the fem structure using:
flsave model1 fem;
When I open the model1 in Comsol the field of a material property is unchanged (there is a lock near the subdomain.... )...
My aim is to change material properties of subdomains in Matlab, take caluclations in Matlab, evaluate - but I want to have calculated models in Comsol.
Thanks in advance for any help.
Rafał Piotuch
2 Replies Last Post 7 sept. 2011, 02:33 UTC−4