Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Disabling Ctrl + w

Subject: Disabling Ctrl + w

From: Nick

Date: 3 Dec, 2012 20:29:24

Message: 1 of 2

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?

Subject: Disabling Ctrl + w

From: Steven_Lord

Date: 3 Dec, 2012 22:13:15

Message: 2 of 2



"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

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us