Livescipt Potential Bug: Can't add code, sections, etc. Only text.
Ältere Kommentare anzeigen
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.

Akzeptierte Antwort
Weitere Antworten (1)
Kameron Carey
am 15 Feb. 2024
1 Stimme
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
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!