Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 2194

Livelink Matlab command

$
0
0
Hello All,

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

Viewing all articles
Browse latest Browse all 2194

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>