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.
By
Kristin Thomas
Kristin is a developer on the MATLAB Desktop team. She works primarily on the Command Window when she is not throwing herself down a mountain on her snowboard.
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
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?
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
i need help for the fuzzy controller and truck demo
thanks