Livescript often fails to plot

78 views (last 30 days)
Ruowen
Ruowen on 8 Nov 2024
Edited: Harald on 4 Mar 2025
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 Comments
Paul
Paul on 4 Mar 2025
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 on 4 Mar 2025
Edited: Harald on 4 Mar 2025
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:

Sign in to comment.

Answers (1)

Harald
Harald on 10 Nov 2024
Moved: Cris LaPierre on 11 Nov 2024
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

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!