- set a break point in the beginning of the code of one_sub_function
- select the call of one_sub_function, which you just passed.
- right click and choose Evaluate Selection
Stepping back while debugging
3 ビュー (過去 30 日間)
古いコメントを表示
I have a matlab function which has several matlab sub functions in it. While debugging the function I accidentally passed one sub function. Now I want to go back one step and "step in" that sub function. How can I do that?
2 件のコメント
per isakson
2016 年 9 月 19 日
編集済み: per isakson
2016 年 9 月 19 日
Not possible, however there is a work around:
回答 (1 件)
Image Analyst
2016 年 9 月 19 日
There is no "edit and continue" or ability to move the next execution line in MATLAB, unfortunately, like there is in Microsoft Visual Studio.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!