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.

How to execute conditioned interuption of an iteration of simulation using matlab livelink?

Please login with a confirmed email address before reporting spam

Hello, evebody. I am using matlab livelink to sort out the best parameters with genetic algorithm. Surely some sets of parameters are impractical so the COMSOL simulation iteration for such a parameter set will carry on forever and never converge. How do I use matlab command to interupt such non-converging simulation if, say, this simulation takes over 1 minute, and then start the next iteration?


0 Replies Last Post 23 janv. 2019, 10:50 UTC−5
COMSOL Moderator

Hello 仁龙 杨

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.