Text folding in matlab is not working

℡╲_俬逩灬. 提交于 2019-12-12 13:19:52

问题


Text folding is not working in my matlab 2013. I enabled everything in preferences Editor/Debugger, but still no luck. Below is an example of what I am trying to fold.

test = 5;

%%
t =7;

%%

回答1:


What did you enable in the preferences? In R2013a you should go to Preferences > Editor/Debugger > Code Folding and click the Enable checkbox for Sections that is off by default. Then click Apply or OK. Here's an annotated screen capture of Code Folding pane of my preferences:

You should see a little minus toggle button appear to the left of the first %% instance in your example:

                                    

Clicking the toggle button will fold the section of code. You will also find other options and keyboard shortcuts under the contextual menu by right-clicking or control-clicking.



来源:https://stackoverflow.com/questions/21197516/text-folding-in-matlab-is-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!