Continue, step in , step out are disabled after error in program

4 vues (au cours des 30 derniers jours)
SANDEEP SINGH RANA
SANDEEP SINGH RANA le 24 Mar 2021
Modifié(e) : Jan le 24 Mar 2021
After error in " index in position 1 exceeds array bounds ( must not exceed 1), editor window is disabled. Function call stack is showing (disabled too): on cleanup is running. Help me to exit this infinite loop.
  1 commentaire
Jan
Jan le 24 Mar 2021
Modifié(e) : Jan le 24 Mar 2021
I do not understand, what you are asking for.
Does you onCleanup function contain an error, which calls itself recursively? Then kill the Matlab application and fix the code. Or does Ctrl-C help?

Connectez-vous pour commenter.

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 24 Mar 2021
Modifié(e) : Jan le 24 Mar 2021
run "dbstop if error" and then run your porgram and debug
run "dbclear if error" to go back to normal

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements 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!

Translated by