Matlab (R2012b) on windows 7 closing itself while running scripts

조회 수: 1 (최근 30일)
eduardo Schenberg
eduardo Schenberg 2013년 11월 20일
댓글: eduardo Schenberg 2013년 11월 21일
My matlab has been closing during processing of some scripts. No error displayed, nothing. It is just a large sequence of computing in files of the same size. It runs some of them, and without terminating the for loop it closes itself. Usually occurs during the night, when I wake up it is closed as if I had not let it running.
Please help!

답변 (2개)

Simon
Simon 2013년 11월 20일
Hi!
In your scripts do you use "exit"? This terminates matlab. If you only want to exit a matlab script or function you need to write "return".
  댓글 수: 1
eduardo Schenberg
eduardo Schenberg 2013년 11월 20일
Tks for the answer, but no, I do not use exit. It does not seem to be something wrong in the script, because it does not terminate always at the same point!

댓글을 달려면 로그인하십시오.


David Sanchez
David Sanchez 2013년 11월 20일
It looks like you are running of of memory. Did you try to reduce the number of files you work with? Start by analysing just a few files and observe the behaviour of your system. If matlab does not shut down analysing a single (or a few: 5/10) file, keep increasing the number of files to analyse. It could be one of your files saturates the system.
  댓글 수: 1
eduardo Schenberg
eduardo Schenberg 2013년 11월 21일
Not sure about this. I make just one file at a time, in a good computer used for nothing else than matlab computing. I had problems in files for which in a second trial it just run OK. And when there are memory issues matlab gives error messages, but do not closes itself, right??

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by