MATLAB Answers

Morten
0

MATLAB Crash

Asked by Morten
on 19 Oct 2011
Hey
My MATLAB R2011b (7.13.0.564) 64-bit maci64 keeps crashing. When I for example open a large matrix in the variable editor and keep on scrolling down MATLAB suddenly crashes. Furthermore it crashes when I close several figures. Any suggestions?
I run it in Mac OS X 10.7.1.
Morten

  3 Comments

Ken Atwell
on 7 Nov 2011
Can you be more specific on this variable editor crash? I run 11b on 10.7.2, and I:
A=rand(100000,10);
Then opened A in the variable editor and held down the Page Down for over a minute without crash. Can you point me in the right direction?
Holger G. on 11 Jan 2012
See bug report no. 749571 at http://www.mathworks.com/support/bugreports/749571:
“On Macintosh sytems, scrolling through large data [10,000 x 50 or larger] in the Variable Editor can cause MATLAB to abort and generate a crash report.”
Unfortunately, the solution suggested there (disabling the JAVA Just-in-time compiler) slows down the MATLAB GUI drastically.
Dominik on 30 Aug 2012
same issue here. and disabling jit does nothing to help :( i'm moving to matlab for windows in a virtualbox. its a sad day

Sign in to comment.

3 Answers

Answer by Hassan Naseri on 5 Nov 2011
 Accepted Answer

It also happens to me very frequently on Mac OS 10.6.8. It is necessary to set default graphic renderer to OpenGL (it helped me alot)
set(0,'DefaultFigureRenderer','opengl')
that can be done in startup file, and also check you OpenGL bugs and if there is any try workarounds, I have to use this workaround:
opengl('OpenGLClippedImageBug',1)
Although most of crashs are resolved by using OpenGL, there are many other unknown cases. I appreciate if someone can help for arbitrary crashs.

  1 Comment

Morten
on 7 Nov 2011
It works, but it also change the plot settings

Sign in to comment.


Answer by Ken Atwell
on 30 Aug 2012

The bug report the Holger mentioned back in January has a patch for 12a (only) attached to it. See the related topic Matlab crashing randomly on Macosx Lion.

  0 Comments

Sign in to comment.


Jan
Answer by Jan
on 19 Oct 2011

I love Macs, and after I've read so many problems in this forum, I recommend to run Matlab under Windows.
Sorry for this pessimistic answer. I hope some Mac users disagree and post a real solution.

  2 Comments

what about Linux?
I keep having problem under Windows as well, while under Linux it is everything under control...as usual..

Sign in to comment.