Matlab (R2012b) on windows 7 closing itself while running scripts
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(2 个)
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".
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!