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

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 5 Apr. 2011
help try

1 Kommentar

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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Variables finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 5 Apr. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by