Livescript often fails to plot

72 次查看(过去 30 天)
Ruowen
Ruowen 2024-11-8
编辑: Harald 2025-3-4
I often encounter an issue in Livescript when I rerun a block to replot. The old plot turns gray, but the new plot never appears. I tried clear all close all, but it doens't help.
The only way to fix this is restarting MATLAB, and when I try to close it, a message appears saying, "An operation is in process" preventing me from exiting normally, regardless of how long I wait. The only way to close it is by ending the task in Task Manager.
It’s particularly frustrating because this happens very often, requiring me to restart MATLAB several times a day.
Has anyone else experienced this?
  19 个评论
Paul
Paul 2025-3-4
No, I haven't. Frankly, I have no idea what you're referring to. Is there any reason to think the New Desktop would help?
Harald
Harald 2025-3-4
编辑:Harald 2025-3-4
From my non-developer understanding, New Desktop is an evolution of the desktop for a soonish future release that will change a lot of things. It may cause a few problems, but it is very likely to also address previously existing problems. To me, both are very good reasons to give it a try. I recall running into the situation mentioned here but have been using New Desktop for a while and have not run into it since. On the other hand, "Clear all output" used to fix things for me quite often, so we may observe similar symptoms but have different underlying problems.
New Desktop is available here:
It's an add-on that you can enable to try it out and also disable again, you will just need to restart MATLAB in between.
More information is also available here:

请先登录,再进行评论。

回答(1 个)

Harald
Harald 2024-11-10
移动:Cris LaPierre 2024-11-11
30% of "often" is still quite often though. ;)
Are you using New Desktop? If not, I'd be curious to see if that changes anything for you: https://www.mathworks.com/matlabcentral/fileexchange/119593-new-desktop-for-matlab-beta
Unless others have any suggestions, I recommend that you contact Technical Support for the colleagues to analyze in detail and provide a solution or forward the issue to development.
Best wishes,
Harald

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by