debug few lines

조회 수: 1 (최근 30일)
Uday
Uday 2011년 9월 27일
I would like to run only few lines from script is there any way to do that ?

채택된 답변

Andreas Goser
Andreas Goser 2011년 9월 27일
  1. Select the few lines and press F9 ("Evaluate Selection" - also from the menu)
  2. Check out Cell Mode

추가 답변 (1개)

the cyclist
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.

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by