Livescipt Potential Bug: Can't add code, sections, etc. Only text.
8 views (last 30 days)
Show older comments
I am running Matlab R2020b on a macOS Catalina. I have had this problem a couple of times now with my Livescripts. I will be working on a Livescript and at some point I can no longer add anything except text. As you see in the image below, all the options are greyed out. Closing and opening the document doesn't fix it, nor does resarting Matlab or doing a save as, which make me think is is some underlying file problem. I end up coping the contents over to a new livesript and save it as a new file. When I do that, everything is just fine.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/420028/image.png)
0 Comments
Accepted Answer
Cris LaPierre
on 7 Dec 2020
If you are still experiencing this issue, please contact MathWorks support:
More Answers (1)
Kameron Carey
on 15 Feb 2024
Hi Michael,
I know this is an old question, but I was having the same issue and found a solution for my case. I found that you cannot add code if the view setting is set to "Hide Code". After changing this setting to "Output on Right" or "Output Inline", I could add code. Hope this helps!
-Kameron
0 Comments
See Also
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!