MATLAB crashes when I try to plot.

6 views (last 30 days)
Philip
Philip on 14 Oct 2014
Answered: Emil on 24 Oct 2016
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.

Accepted Answer

Siddharth Sundar
Siddharth Sundar on 15 Oct 2014
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 Comments
dinesh kuruba
dinesh kuruba on 7 May 2015
Above mentioned method did not work for me also.
Mohit Kumar
Mohit Kumar on 30 Jul 2015
Thanks. This worked for me.

Sign in to comment.

More Answers (2)

Dominik von Francois
Dominik von Francois on 11 May 2015
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 Comments
Moe Money
Moe Money on 15 Jul 2015
It looks like your solution worked for me! Thanks a lot.
Saba Malik
Saba Malik on 18 Feb 2016
thanks worked for me too !

Sign in to comment.


Emil
Emil on 24 Oct 2016
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.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!