.asv files in matlab

2019-03-14 07:39发布

问题:

When I save a .m file in a folder, MATLAB autosaves a .asv file in the same folder.

I opened this file and I found that it contains my code from the beginning, ignoring what I have deleted.

  • What is the use of this file?
  • What's the risk if I delete that file?

回答1:

A .asv file is just what you said, an "AutoSave" file. It's just there so that you don't lose all your code if your computer crashes/shutdown. You can delete it whenever you want.

If you find them annoying you can go to File/Preferences/-->"Editor/Debugger" --> Autosave and turn it off.