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 handling in Comsol
Posted 20.04.2010, 12:22 GMT-4 1 Reply
Please login with a confirmed email address before reporting spam
I have a question about possibilities to handle errors. I use different "for"-loops to change parameters. A few sets of geometric parameters cause errors when the mesh is initialized. My problem is that comsol script stops calculation then and I can not carry on with the next parameter set.
Is there any possibility to say "on error resume next" as in visual basic to make comsol continue the calculation? If I could handle an error I could just continue the loop with the next set of parameters.
Thanks a lot for your effort!
Clemens
Hello C
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.