Section folding not present
古いコメントを表示
Using R2024B, i got the option to use the live editor and some things changed without asking.
Most importantly, the + buttons to fold a section have dissappeared, while in preferences/editor/code folding the option sections is ON.
Another change is that the titles of the scripts are in an additional column.
FInally, beneath the folder section, there is a new window with the 'script' , i.e. a shortcut to jump to a section.
How can I get the section folding again?
Cheers, Paul
7 件のコメント
Hamid Farshi
2026 年 3 月 16 日 21:10
as mentioned in prior comment, code folding and section folding is not yet supported in the Live Editor however starting from R2025a, you can use a side panel called "Outline" which gives you ability to navigate quickly to your desired section in your live script.
Paul
2026 年 3 月 17 日 7:40
Hamid Farshi
2026 年 3 月 18 日 14:13
編集済み: Hamid Farshi
2026 年 3 月 18 日 14:13
Paul, if I undrestand correctly, you mean that you opened a .m file and it got openned in the live editor instead of the traditional editor and hence some features were missing? if my assumption is correct, perhaps you are using a .m plain text based live script? (for more info take a look here: https://www.mathworks.com/help/matlab/matlab_prog/plain-text-file-format-for-live-scripts.html)
These files are live scripts and would open in live editor.
Paul
2026 年 3 月 30 日 12:06
Stephen23
2026 年 3 月 30 日 16:46
Contact technical support:
Paul
2026 年 3 月 31 日 7:23
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Entering Commands についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!