Force quit matlab from script

I need to run a script and fully close the program when it is complete. Not just the quit command to stop the operation. Is this possible? Using R2015b. Thanks

1 comentario

Geoff Hayes
Geoff Hayes el 10 de Jul. de 2017
Josh - please clarify what you mean by fully close the program. Do you want MATLAB to shut down? Do you want the workspace variables to be cleared? What happens when you use quit or exit?

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 10 de Jul. de 2017

0 votos

quit is defined to leave MATLAB completely.
However, I recently notice that quit will not interrupt a callback that is executing code.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 10 de Jul. de 2017

Respondida:

el 10 de Jul. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by