MATLAB crashes when I try to plot.

I upgraded to 2014b, and now MATLAB crashes whenever I try to plot. Any advice? I can't even use the opengl command, as that causes MATLAB to crash too.

 采纳的回答

I would suggest that you use the -softwareopengl startup option and see if that resolves the issue. This startup option forces MATLAB to start with software OpenGL libraries.
So at the Windows command line you would need to use the following startup option:
matlab -softwareopengl

4 个评论

This doesn't work for me, neither using opengl hardware nor software prevents MATLAB from crashing once the plot function is invoked. Any other idea?
Initially I thought you had a solution because you accepted the answer. But it looks like the solution actually should not have been accepted. In that case, see the FAQ: http://matlab.wikia.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_MATLAB.
Above mentioned method did not work for me also.
Thanks. This worked for me.

请先登录,再进行评论。

更多回答(2 个)

I tried all of the above and I found my own solution. Maybe this will help someone else one day :
My system : Windows 10 IPEC 10074 64 bit, MATLAB R2015a 32bit
On the matlab shortcut, I went on its properties and changed the compatibility settings :
a.) Change settings for all users
b.) Windows 7 as compatibility mode
c.) Run this program as an administrator
After I did that, matlab finally did not crash anymore when trying to plot.

2 个评论

It looks like your solution worked for me! Thanks a lot.
thanks worked for me too !

请先登录,再进行评论。

Emil
Emil 2016-10-24
I had the same issue. Im on laptop with intel HD 4000 and win 7 64. My solution was to adjust my visual effects. search for "adjust visual effect" on start menu. I had it set to "best performance" but apperently matlab doesnt like it.

类别

帮助中心File 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