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.
Livelink Matlab command
Posted 2015年7月6日 GMT-4 00:27 Interfacing Version 5.1 0 Replies
Please login with a confirmed email address before reporting spam
Quick question:
Is there anyway to detect a flag value to see when the a solution converges or diverges during a Matlab script execution?
What I want to do is to run a series of mph files, each has 20 parameters to sweep. But there is a possibility that when the parameter gets too large, it will not converge. That is OK though but I need Matlab to continue to run even though the current parameter gives a divergence condition.
If there is a flag value that I can detect, to see and put that as a "if" statement inside my for loop, that would be awesome.
I checked the Livelink manual and it doesn't seem to provide such command.
Does anything know? Thank you so much.
Robert
Hello Robert Zhang
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.