Did LiveScript Get Worse in 2020b?
3 views (last 30 days)
Show older comments
I recently updated from 2019a to 2020b. I've been working on Live Script. In 2019a, it works fine. In 2020b I'm seeing a serious problem. I open the script in the editor and run a section. Works fine. I look at the output. I click on Run Section again. The little wheel in the upper left starts spinning. But the Stop box in the Run area on the ribbon is greyed out. And I don't the "Busy" indication in the lower left of the Matlab window. ctrl-c doesn't do anything. It just sits there and churns until I kill Matlab and restart, and then it happens again. This situation is untenable.
Anyone else experience the same problem? And have a solution?
4 Comments
Answers (1)
Cris LaPierre
on 18 Nov 2021
You do need to be very intentional about when you use 'clear all', as that also clears the JIT compliled code, slowing down your code as it will need to be recompiled.
See this answer, especially the comments: https://www.mathworks.com/matlabcentral/answers/628518-using-clear-all-usually-decreases-code-performance-and-is-often-unnecessary
2 Comments
Cris LaPierre
on 18 Nov 2021
I think I'm safe in saying the observed change in behavior between 2019a and 2020b was not intentional. I would suggest reporting your observations here.
See Also
Categories
Find more on Historical Contests 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!