Computer freezes SOMETIMES when plotting
18 views (last 30 days)
Show older comments
Sometimes when I use the plot command my computer freezes, meaning that my computer does not respond to my mouse or my keyboard. In this case, I have to turn off the computer with the power button, without having the chance to save any open documents.
I am working with a Linux OS.
Since it just happens sometimes, i.e., I can plot the same graph a few times before my computer freezes, I have no idea where the error comes from, and I do not know what additional information I should provide.
2 Comments
CS Researcher
on 2 May 2016
Are there multiple plot commands? Are you using the plot command in a loop? Share your work to get a better answer.
Answers (1)
Mike Garrity
on 2 May 2016
If it only happens when you plot, then the first suspect would be the driver for the graphics card. I would look to see whether there's a newer driver available for your card. This page in the doc provides a lot of info on how to track this sort of problem down.
The command
opengl info
will capture most of the information about the card and driver. That will probably be helpful.
The command
opengl software
or the
-softwareopengl
startup flag will tell MATLAB not to use the graphics card for much beyond pushing pixels into the framebuffer. This might be useful while you debug the problem.
0 Comments
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!