How to check the current line (debug)
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mateusz
le 10 Avr 2012
Réponse apportée : Pruthvi G
le 20 Mar 2019
I often use 'keyboard' command to debug my programs (since sometimes I have to use command line and matlab -nodisplay setup). When the keyboard command is reached, the execution is stopped until I type return or dbquit. Sometimes, however, I would also like to know where the execution has been stopped, that is which function/script, which line. This might help me to trace down all keyboard instructions that I have put and that are reached during the execution. It this possible in Matlab R2011b?
0 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Entering Commands dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!