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개)

Fangjun Jiang
Fangjun Jiang 2011년 4월 5일

0 개 추천

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에 대해 자세히 알아보기

질문:

2011년 4월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by