MATLAB: How to stop the execution of a MATLAB file in UNIX without using Ctrl+C

executionkillMATLABstop

I want to stop the execution of a running MATLAB program from the UNIX command line without using Ctrl+C.

Best Answer

To stop the execution of a MATLAB program, you can issue the following UNIX command:
Kill –INT pid
(Where 'pid' is the MATLAB program identification).