Continue, step in , step out are disabled after error in program
2 views (last 30 days)
Show older comments
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 Comment
Accepted Answer
Fangjun Jiang
on 24 Mar 2021
Edited: Jan
on 24 Mar 2021
run "dbstop if error" and then run your porgram and debug
run "dbclear if error" to go back to normal
0 Comments
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!