plotting in matlab extremely slow
20 次查看(过去 30 天)
显示 更早的评论
Every time I plot something it takes several seconds for MATLAB do draw it. Specifically:
>> figure
opens a figure with no significant delay but
>> plot(1:10)
takes about 10 seconds before anything is drawn.
Any ideas what might be wrong? I've attached a file with my DxDiag information below if you want to know what my setup is. I'm currently using MATLAB R2016b but I had the same problem with R2014b.
2 个评论
回答(1 个)
Prasad Mendu
2016-10-18
For certain graphic cards these performance issues can be resolved by using the software implementation of OpenGL. You can switch to this implementation by executing the command given below at MATLAB Command Window:
>>opengl software
To permanently use OpenGL software, execute this:
>>opengl(save,'software')
3 个评论
Walter Roberson
2017-7-16
Elizabeth Hearn: which release of MATLAB are you using, and which OS-X or MacOS release?
Antonio Sisbarra
2019-5-8
Just a little mistake: for me it worked
opengl('save','software');
with save between quotes
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!