Is it possible to collapse if/else or switch statements within the MATLAB R2014a Editor?
43 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 12 Aug. 2014
Beantwortet: MathWorks Support Team
am 13 Aug. 2014
Is it possible to collapse if/else or switch statements within the MATLAB R2014a Editor?
Akzeptierte Antwort
MathWorks Support Team
am 12 Aug. 2014
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!