Path: news.mathworks.com!not-for-mail
From: "Steven_Lord" <slord@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Disabling Ctrl + w
Date: Mon, 3 Dec 2012 17:13:15 -0500
Organization: MathWorks
Lines: 24
Message-ID: <k9j85s$omi$1@newscl01ah.mathworks.com>
References: <k9j234$18q$1@newscl01ah.mathworks.com>
NNTP-Posting-Host: ah-slord.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain;
	format=flowed;
	charset="UTF-8";
	reply-type=response
Content-Transfer-Encoding: 7bit
X-Trace: newscl01ah.mathworks.com 1354572796 25298 172.28.9.169 (3 Dec 2012 22:13:16 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 3 Dec 2012 22:13:16 +0000 (UTC)
In-Reply-To: <k9j234$18q$1@newscl01ah.mathworks.com>
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
Xref: news.mathworks.com comp.soft-sys.matlab:784087



"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