Livescipt Potential Bug: Can't add code, sections, etc. Only text.
8 次查看(过去 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/420028/image.png)
0 个评论
采纳的回答
更多回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!