Why does MATLAB crash when plotting with Linux drivers?

I was trying to create a plot when suddenly MATLAB crashed? I am using a Linux machine.

 Accepted Answer

This is caused by a bug in the graphics card drivers related to OpenGL. To work around this issue utilize the version of OpenGL that ships with MATLAB.
To do so, use the "-softwareopengl" startup flag to start MATLAB. For more information regarding startup flags, please refer to the following page:https://www.mathworks.com/help/matlab/ref/matlablinux.html
If switching to software OpenGL does not help to prevent additional crashes, please contact Technical Support:http://www.mathworks.com/support/contact_us/

More Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products

Release

R2022a

Community Treasure Hunt

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

Start Hunting!