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

Réponses (1)

help try

1 commentaire

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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Variables dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by