"Close" all loops in a script m file
조회 수: 4 (최근 30일)
이전 댓글 표시
I have multiple for loop
for a=1
test
end
for b=1
test
end
In an editor I can "close" the loops with (+) and (-). Is there any way to close all loops in a script file?
채택된 답변
Steven Lord
2018년 6월 14일
Yes, it is possible to fold all loops in a file. See the "Code Folding" section on this documentation page for more information.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!