.asv files in matlab

2019-03-14 07:52发布

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条回答
女痞
2楼-- · 2019-03-14 08:19

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.

查看更多
登录 后发表回答