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!