Brian
Brian

Reputation: 27412

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 downt he program entirely.

Upvotes: 0

Views: 1927

Answers (2)

gary
gary

Reputation: 4255

It's Ctrl+C.

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

Upvotes: 4

user85109
user85109

Reputation:

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.

Upvotes: 1

Related Questions