- Select the few lines and press F9 ("Evaluate Selection" - also from the menu)
- Check out Cell Mode
debug few lines
조회 수: 1 (최근 30일)
이전 댓글 표시
I would like to run only few lines from script is there any way to do that ?
댓글 수: 0
채택된 답변
Andreas Goser
2011년 9월 27일
댓글 수: 0
추가 답변 (1개)
the cyclist
2011년 9월 27일
One way is to use "cell mode". Put the characters "%%" (without quotes) on the lines above and below the section you want to run. Put the cursor in that section, and it will be highlighted. You can then run just that section.
댓글 수: 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!