Reading text from MATLAB command window when running a program in batch mode?

Hello everyone,
I'm running a program from MATLAB in batch mode. Whenever this program displays an error at the command window (e.g. Error 1234: out of memory), I'd like to have a trigger in MATLAB execute some code to fix this problem (e.g. run fewer simultaneous processes to reduce memory requirements). Any ideas on how to accomplish this?
Thank you,
Paul

回答(1 个)

help try

1 个评论

The problem is the solver still attempts to solve the problem even when out of memory by using paging files. So it will still execute, just very slowly. I'm not sure "try" will work for this situation.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Variables 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by