How to re-enable grayed out tool buttons?

94 visualizaciones (últimos 30 días)
Gregory Legister
Gregory Legister el 29 de Oct. de 2020
Comentada: Richard DeFazio el 28 de Oct. de 2021
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 comentarios
Israel Vaughn
Israel Vaughn el 8 de Jun. de 2021
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 el 28 de Oct. de 2021
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.

Iniciar sesión para comentar.

Respuestas (1)

Hiro Yoshino
Hiro Yoshino el 14 de Dic. de 2020
  2 comentarios
Alex Wooten
Alex Wooten el 30 de Jun. de 2021
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 el 21 de Oct. de 2021
Alex Wooten, can you fix this problme ?

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Environment Customization en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by