Did LiveScript Get Worse in 2020b?
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
Cris LaPierre
on 13 Nov 2021
Edited: Cris LaPierre
on 13 Nov 2021
As a first step, are there any updates you can install? Check the notification bell in the top right. Check your ver. The latest version should be update 6.
MATLAB Version: 9.9.0.1718557 (R2020b) Update 6
Also, what happens if you run the same live script in MATLAB Online? Does it work as expected there?
Steven Lord
on 13 Nov 2021
What operating system are you using?
Paul
on 16 Nov 2021
Answers (1)
Cris LaPierre
on 18 Nov 2021
0 votes
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
Paul
on 18 Nov 2021
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.
Categories
Find more on Startup and Shutdown 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!