Why does MATLAB crash when plotting with Intel drivers?
1,906 views (last 30 days)
Show older comments
MathWorks Support Team
on 1 Feb 2018
Edited: MathWorks Support Team
on 16 Nov 2023
I was trying to create a plot, when suddenly MATLAB crashed. I am using a Windows machine with Intel drivers. Why is this happening?
Accepted Answer
MathWorks Support Team
on 16 Nov 2023
Edited: MathWorks Support Team
on 16 Nov 2023
This is likely caused by a bug in your graphics card drivers.
Several users have reported this issue, and they were able to resolve it by uninstalling their old graphics driver and then reinstalling the updated version of their drivers from the following page:
Alternatively, some other users have resolved the issue by having MATLAB use the software implementation of OpenGL. For example, you can execute either of the following commands from your system command prompt / terminal:
Option 1 (only for Windows and Linux systems):
matlab -softwareopengl
Option 2 (only for Windows systems running R2017b and later releases):
matlab -softwareopenglmesa
Specifying the software implementation of OpenGL applies only to the current MATLAB session. The next time you start MATLAB, it will use the default OpenGL renderer. To learn how to make these startup options persist for future sessions, see the documentation linked below:
If none of the above steps helps to prevent additional crashes, please contact Technical Support:
2 Comments
Matt J
on 16 Feb 2021
Tom Hicks' comment moved here:
Hey Guys,
no option worked for me. Matlab is always crashing when i use plot.
I already updated the intel drivers.
Do you have any ideas?
Thanks.
MathWorks Support Team
on 18 Oct 2021
Edited: MathWorks Support Team
on 26 Oct 2021
Specifying the “-softwareopengl” flag applies only to the current MATLAB session. The next time you start MATLAB, it will use the default OpenGL renderer.
Feel free to contact Technical Support if you're still having issues:
More Answers (0)
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!