Is it possible to collapse if/else or switch statements within the MATLAB R2014a Editor?
43 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2014 年 8 月 12 日
回答済み: MathWorks Support Team
2014 年 8 月 13 日
Is it possible to collapse if/else or switch statements within the MATLAB R2014a Editor?
採用された回答
MathWorks Support Team
2014 年 8 月 12 日
It is possible to collapse "if/else" and "switch" blocks within the MATLAB R2014a Editor. However, this feature is disabled by default. You can enable this feature in the MATLAB Preferences:
1) Open the preferences using the button on the tool strip, or by executing this line of code:
>> preferences
2) Once you are in preferences, click on "MATLAB" -> "Editor/Debugger" -> "Code Folding".
3) Select the code blocks you are interested in folding, for example "If/else blocks".
4) Click "OK".
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Debugging and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!