Why is CTRL+C unpredictable or ineffective when trying to terminate a script running in MATLAB 6.0 (R12) on a SGI machine running the Common Desktop Environment (CDE)?
1 view (last 30 days)
Show older comments
When MATLAB R12 is launched from a SGI machine using the Common Desktop Environment (CDE) icon, CTRL+C does not successfully terminate running scripts as it does when MATLAB is launched from a shell command line.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
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:
desktop
Loading the desktop after MATLAB has been launched seems to avoid the conflict and allows CTRL+C to be used properly.
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!