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.
To create an m-file, choose New from the File menu and select Script. This procedure brings up a text editor window in which you can enter MATLAB commands. To save the m-file, simply go to the File menu and choose Save (remember to save it with the '. m' extension).
Go to Image > Adjustments > Selective Color... then click the gear icon and select Load Preset... and select your ASV file. ASV files need to be loaded through the Selective Color dialog. Go to Image > Adjustments > Selective Color... then click the gear icon and select Load Preset... and select your ASV file.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With