How to re-enable grayed out tool buttons?

조회 수: 90 (최근 30일)
Gregory Legister
Gregory Legister 2020년 10월 29일
댓글: Richard DeFazio 2021년 10월 28일
While debugging a file, MATLAB redirects to an internal function of sorts, and all the run or step buttons are grayed out.
After debugging or while debugging, I got redirected to more information about an error.
After closing the error script, I was still not able to return to debugging or run any further commands.
Any options other than restarting MATLAB?
  댓글 수: 3
Israel Vaughn
Israel Vaughn 2021년 6월 8일
This just happened to me. onClean constructor, I closed that file and now all the debugging commands are greyed out in my editor window. "dbquit" does nothing. The main matlab windows does not indicate that a debugger is running.
Richard DeFazio
Richard DeFazio 2021년 10월 28일
As Israel wrote, same problem here. dbquit does not run. Greyed out continue button. Run to cursor works if cursor is at end of main script, but generates an error about breakpoints. Quit and restarted.

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

답변 (1개)

Hiro Yoshino
Hiro Yoshino 2020년 12월 14일
  댓글 수: 2
Alex Wooten
Alex Wooten 2021년 6월 30일
In my case, when this happened to me and I used dbquit in the command window, I get the error
>> dbquit
Error using dbquit
Debug commands only allowed when stopped in debug mode.
arci biyo
arci biyo 2021년 10월 21일
Alex Wooten, can you fix this problme ?

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

카테고리

Help CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by