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.

Plot model geometry created using COMSOL with MATLAB in every iteration

Please login with a confirmed email address before reporting spam

I am trying to simulate a model using MATLAB COMSOL interface. MATLAB 2016a and COMSOL 5.0.. I am varying few boundary of the model and tring to plot the geometry in each loop. I tried to use mphgeom() function to plot the geometry in every loop. With each loop, only the last boundary is plotted. Can someone suggest how to plot the boundaries in each iteration keeping the old one intact? A similar thing happens with "hold on" function in MATLAB but this function doesn't work for mphgeom().


0 Replies Last Post 11.08.2018, 13:18 GMT-4
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.