If MATLAB 6.x (R12.x and R13) is launched from a CDE icon on a SGI machine, a minor conflict exists between the CDE and the MATLAB desktop. This causes CTRL+C to be ineffective in terminating a running MATLAB script.
There are two ways to work around this issue:
1. Open a shell and launch MATLAB from the command line.
2. Change the CDE icon so that it launches "matlab -nodesktop" rather than simply "matlab".
You can initiate the desktop from the MATLAB command line by typing:
Loading the desktop after MATLAB has been launched seems to avoid the conflict and allows CTRL+C to be used properly.
Best Answer