execution a program step by step
7 ビュー (過去 30 日間)
古いコメントを表示
Hi all I have already written a program that its some parts doesn't give me desirable answers. I want to run this program line by line and check the results step by step.
How can I do???
Best
0 件のコメント
回答 (1 件)
Fangjun Jiang
2011 年 10 月 14 日
Open you .m file in M-editor, move your cursor to a line and press F12. You will see a red dot in that line just left of the line number. You can click the place to turn on/off the break point too. Then press F5 to run the code. Click menu Debug for more options.
3 件のコメント
Walter Roberson
2017 年 12 月 15 日
dbstep to execute one line.
dbstep in to step into a function being called on the current line.
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!