Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有时在调用一个函数后(这需要大约 30 多分钟才能完成),你意识到你做错了什么并想要停止程序。
你如何在 MATLAB 中做到这一点?
我所做的是完全关闭 MATLAB 并重新启动. 我认为会有一种方法可以中止函数的执行。
有人知道那是什么吗?
点击Ctrl+C通常可以解决问题,尽管有时它会遇到障碍。