MATLAB: Editor saving .m file when switching between editor tabs.

editorsavingtabs

I'm using MATLAB R2014b and I've recently been working with several files open at once in the editor window. However, I didn't notice until just today that if I have unsaved changes in one file and switch to a different tab, those unsaved changes are now saved. Most of the time this isn't a problem, but if I hadn't caught it today I would have done some serious damage to one of my scripts. Is there a way to disable this feature? I like to know when I am deliberately saving a file (aside from backups).

Best Answer

See the last item in the Desktop section of the Release Notes for MATLAB for release R2014b for instructions on how to turn this behavior off in the Preferences.
Related Question