Stepping back while debugging
Afficher commentaires plus anciens
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 commentaires
per isakson
le 19 Sep 2016
Modifié(e) : per isakson
le 19 Sep 2016
Not possible, however there is a work around:
- 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
Raghu Piska
le 20 Sep 2016
Réponses (1)
Image Analyst
le 19 Sep 2016
0 votes
There is no "edit and continue" or ability to move the next execution line in MATLAB, unfortunately, like there is in Microsoft Visual Studio.
Catégories
En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!