How to abort a running program in MATLAB?

你。 提交于 2019-11-26 16:33:23

问题


Sometimes after calling a function (which takes some 30 odd minutes to finish), you realize that you did something wrong and want to stop the program.

How do you do that in MATLAB?

What I do is shutdown MATLAB completely and restart. I think there would be a way to abort the execution of the function instead.

Anybody know what that is?


回答1:


Hitting Ctrl + C usually does the trick, although sometimes it has been known to run into snags.



来源:https://stackoverflow.com/questions/1500314/how-to-abort-a-running-program-in-matlab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!