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

11 次查看(过去 30 天)
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.

采纳的回答

Cris LaPierre
Cris LaPierre 2020-12-7
If you are still experiencing this issue, please contact MathWorks support:

更多回答(1 个)

Kameron Carey
Kameron Carey 2024-2-15
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

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by