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

조회 수: 4 (최근 30일)
SANDEEP SINGH RANA
SANDEEP SINGH RANA 2021년 3월 24일
편집: Jan 2021년 3월 24일
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
Jan
Jan 2021년 3월 24일
편집: Jan 2021년 3월 24일
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?

댓글을 달려면 로그인하십시오.

채택된 답변

Fangjun Jiang
Fangjun Jiang 2021년 3월 24일
편집: Jan 2021년 3월 24일
run "dbstop if error" and then run your porgram and debug
run "dbclear if error" to go back to normal

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by