What common mistakes causes Matlab to crash?
7 ビュー (過去 30 日間)
古いコメントを表示
Do you frequently make a mistake that causes Matlab to crash or freeze up?
0 件のコメント
回答 (3 件)
Chad Greene
2014 年 7 月 21 日
2 件のコメント
per isakson
2014 年 7 月 21 日
編集済み: per isakson
2014 年 7 月 21 日
Which Matlab release and which OS? Reproducible? Example?
Image Analyst
2014 年 7 月 21 日
This does not crash MATLAB for me:
x = 1:1e+6;
y = repmat(x,length(x),length(x));
I simply get an error:
Error using repmat
Maximum variable size allowed by the program is exceeded.
Error in test (line 2)
y = repmat(x,length(x),length(x));
but throwing an error is not crashing . Windows does not say "MATLAB has encountered an error and needs to close." which it would say if MATLAB itself crashed, rather than just some error in your program. It would also bring up a window asking you to send information to the Mathworks about the crash.
4 件のコメント
Joseph Cheng
2014 年 7 月 21 日
編集済み: Joseph Cheng
2014 年 7 月 21 日
It might be an OS issue. I was able to perform the x = and y= above in Windows 64bit for Matlab 2011a. And I get an out of memory error.
Image Analyst
2014 年 7 月 22 日
Can you type Control-Shift-Esc and look at what process is taking up the CPU?
Robert Cumming
2014 年 7 月 25 日
I get unrepeatable and uncontrolled crashes when using the matlab.xunit testing framework doing integration tests using GUI's.
Most of the time the run without any problems - but sometimes Matlab crashes - but I can then restart Matlab and repeat the tests just fine.
No out of memory problems as far as I can tell.
0 件のコメント
参考
カテゴリ
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!