- select the text you want to tidy up
- use the menu "Text" -> "Smart Indent" (or the shortcut, which is cmd-I on the Mac, and something similar on PC's)
for loop
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi everyone,
I want to tidy up lots of for loops I have. I have confused which end in belongs to which 'if' or 'for'. I know there is a very to tidy up, but I can not remember. Would you please help me on that. Thank you!
S.
댓글 수: 0
답변 (1개)
Jos (10584)
2011년 3월 22일
In the Matlab Editor,
댓글 수: 6
Matt Fig
2011년 3월 23일
It doesn't matter to me what the shortcut key is, I am just glad TMW included one to do the job.
참고 항목
카테고리
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!