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.

Error in MATLAB after a new domain in created after MATLAB processing

Please login with a confirmed email address before reporting spam

I am running COMSOL with MATLAB. I exported a model the mph file as m file in MATLAB. This is followed by the required running of loops in MATLAB. This was successfully implemented and it worked; but I get an error that a new domain in created. My understanding is that, whenever a loop is created in MATLAB, the loop becomes a new domain in the comsol. Since the new domain is not recognised in the COMSOL, it gives error in MATLAB. I am new into this, so a suggestions for the same to avoid the error will be useful. Apparently, I have an idea that, if we are able to define a new domain in the COMSOL using/via MATLAB, we can avoid the error as everytime, a loop/domain is created, we will make it a new domain in comsol which is recognised and it should work as well.


0 Replies Last Post 2019年1月29日 GMT-5 13:54
COMSOL Moderator

Hello Bikash Sah

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.