Date: Dec 3, 2012 5:13 PM
Author: Steven Lord
Subject: Re: Disabling Ctrl + w



"Nick " <dsfadfa@aol.com> wrote in message
news:k9j234$18q$1@newscl01ah.mathworks.com...
> I am running matlab under windows 7.
> Sometimes when I go to save a file with ctrl+s I accidentally hit ctrl + w
> and the entire matlab closes!
> Is there a way to disable this?


1) Change the keyboard shortcut using the Preferences.
2) The Confirmation Dialogs item under General in the Preferences may,
depending on what release of MATLAB you're using, have an item that requires
you to confirm before closing MATLAB.
3) Create a finish.m file that prompts you when you try to close MATLAB
(accidentally or intentionally.)

http://www.mathworks.com/help/matlab/ref/finish.html

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com