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