Livescipt Potential Bug: Can't add code, sections, etc. Only text.

7 views (last 30 days)
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.

Accepted Answer

Cris LaPierre
Cris LaPierre on 7 Dec 2020
If you are still experiencing this issue, please contact MathWorks support:
  1 Comment
Michael
Michael on 7 Dec 2020
Okay, thanks. I've never submitted a service request before. I just submitted the issue.

Sign in to comment.

More Answers (1)

Kameron Carey
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

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!