Skip to Main Content Skip to Search
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Inside the MATLAB Desktop

May 29th, 2007

Oops, I accidentally closed MATLAB!!

If you have always wanted a confirmation dialog to prevent you from accidentally closing MATLAB, we added one a few of releases ago (R14sp2). It is off by default, but you can easily enable it by going to Preferences, Confirmation Dialogs, and checking “Confirm before exiting MATLAB”. Voila, no more accidental quitting.

confirmexit.jpg

4 Responses to “Oops, I accidentally closed MATLAB!!”

  1. xristos replied on :

    Hi Kristin, sorry for wasting your time but i have a problem with an MATLAB algorithm i didn’t know where to ask.
    So i found your blog and i’ ll make a try.

    I’ve tried to run Fuzzy C Means MATLAB algorithm with the trivial case which is “clustering data in a unique center”.
    Check this out.

    [ center , U , obj_fnc ] = FCM( data , numberofCenters );
    As a result i take NaN for center and U output.

    Is it an arithmetic problem in the code of fcm function?
    Can this algo to run in trivial case?

    If you have time please send me a tip or whatever you think will be useful.

    Thank you

  2. Ethan Montag replied on :

    This is related to accidentally closing Matlab.

    I sometimes accidentally close my editor window. This is tragic because I have to try to remember all the m-files I was working on that I had attached to it.

    Is there a way to get it all back?

  3. Ken replied on :

    Hi Ethan,

    This is definitely something that has come up before! Safari, Firefox and IE all support the kind of warning you are requesting, so it seems logical that MATLAB would also support it.

    Unfortunately, there is currently no way to workaround this issue.

    I will create an enhancement request for this.

    -Ken

  4. seaar replied on :

    i need help for the fuzzy controller and truck demo
    thanks

Leave a Reply


Inside the MATLAB Desktop is written by the MATLAB Interface teams.

Team picture
  • Ken: Hi Bjoern, We’re currently working hard to make it easier to add support for additional languages in the...
  • Bjoern: Hi, As all the other matlab users out there who have to work with different programming languages - I would...
  • Mike: bswang, Depending on where your data is coming from, it may not be available from your standalone program (e.g....
  • Ken: Hi Han, Thats an interesting idea, one also present in Xcode via the #pragma mark token. There’s a school...
  • Han Geerligs: Hello Ken, how about introducing the “region” concept as used in the Visual Studio...
  • bswang: I use a uitable in guide. The uitable works well on the matlab environment. But when i build the mytest.m...
  • Jennifer French: Hi Stephen, Thanks for posting about dataset. Its great to hear about techniques that work well for...
  • Jennifer French: Hi Quan, Thanks for sharing those techniques for working with excel! They sound quite useful and...
  • Ken: @Steven: Thanks for the great feedback! We’d love to hear more about how you use the dataset function when...
  • Ken: @Quan: xlsread is a great function! Also, I like your cut and paste technique.

These postings are the author's and don't necessarily represent the opinions of The MathWorks.

Related Topics