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

Answers (1)

help try

1 Comment

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.

Sign in to comment.

Categories

Asked:

on 5 Apr 2011

Community Treasure Hunt

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

Start Hunting!