Filter löschen
Filter löschen

Force quit matlab from script

4 Ansichten (letzte 30 Tage)
Josh
Josh am 10 Jul. 2017
Beantwortet: Walter Roberson am 10 Jul. 2017
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 Kommentar
Geoff Hayes
Geoff Hayes am 10 Jul. 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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 10 Jul. 2017
quit is defined to leave MATLAB completely.
However, I recently notice that quit will not interrupt a callback that is executing code.

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by