MATLAB How to escape a suspended Matlab?

  • Thread starter Thread starter pixel01
  • Start date Start date
  • Tags Tags
    Escape Matlab
Click For Summary
Running Matlab programs can sometimes lead to unresponsive situations where the program does not stop even after pressing Ctrl+C. To address this issue, users can utilize the Windows Task Manager, which can be accessed with Shift + Ctrl + Escape or Ctrl + Alt + Delete, to terminate the program. For Linux users, the process involves finding the program's PID using the 'ps' command and then executing "kill" followed by the PID. Mac OS X users have the option to use the force quit command available in the Finder to close unresponsive applications. These methods provide effective alternatives to restarting the computer when Matlab programs hang.
pixel01
Messages
688
Reaction score
1
Hi all,

I sometimes get into trouble of running Matlab programs, then when I press Ctrl+C, the program does not stop. I can only reset the PC and that takes a lot of time. Does anyone know other ways to stop a stubborn running program?.
 
Physics news on Phys.org
What operating system are you using? The Windows Task Manager can be started with Shift + Ctrl + Escape (sometimes also Ctrl + Alt + Delete) and that can close the program, if under windows. If you're using Linux you could close it with bash by looking up the PID with ps and then using "kill *" where * is the PID. For Mac OS X there's a force quit command on the finder.
 

Similar threads

Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K