开发者

end matlab process

Is there a way to end a matlab process that is taking too long to run?

ctrl+alt+delete is all I know right now and that shuts do开发者_开发问答wnt he program entirely.


It's Ctrl+C.

Apparently it's inconsistent at times: http://www.mathworks.com/support/solutions/en/data/1-188VX/


Control C is the answer. It will break in. However, there are cases where it still may take a while to do the interrupt. For example, if the process is trying to solve a huge linear system of equations or allocate a huge block of virtual memory, then matlab will not see the interrupt until the solver returns control to matlab itself. So it may take a while before the break happens. If this is just a long running iterative process, then the break will happen quickly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜