MATLAB Answers

How to re-enable grayed out tool buttons?

조회 수: 71(최근 30일)
Gregory Legister
Gregory Legister 29 Oct 2020
답변: Hiro 14 Dec 2020
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?
  댓글 수: 1
Steven Lord
Steven Lord 29 Oct 2020
While debugging a file, MATLAB redirects to an internal function of sorts, and all the run or step buttons are grayed out.
That is exactly the opposite of the behavior I'd expect. Can you confirm that you run your code, stop (at a breakpoint, an error breakpoint, or a keyboard command) in your code and the buttons in the Debug section of the Editor tab of the Toolstrip are disabled?
What is the full and exact text of the error message to which you were redirected?
The fact that you seem to be stopped in the constructor of the onCleanup object is strange.

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

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by