Force quit matlab from script

2 次查看(过去 30 天)
Josh
Josh 2017-7-10
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 个评论
Geoff Hayes
Geoff Hayes 2017-7-10
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?

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by