- 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!