How to Stop Autosaving

How do you stop code from autosaving? I have a class which has a handle on a gui, so every time it saves when I'm writing code another instance is created (and so another gui window appears). It's very annoying and I would like to stop it from happening somehow. Thanks!

Answers (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi on 25 Jul 2019

1 vote

You can unset the "Automatic file changes" option for saving whenever you click away from the file in the Editor/Debugger section of the preferences for MATLAB.
See this documentation page for more information.

Products

Release

R2019a

Asked:

on 12 Jul 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!