How to turn off autosave in matlab online 2021a

It is so annoying and making my code slow. every time i change a small value and click run it takes time to save and then create .asv file and then run my code. Which is Soo annoying. Please someone could help me how to turn it off.

2 commentaires

xingxingcui
xingxingcui le 28 Juil 2022
this autosave backup file is completely superfluous,mathworks should remove this feature now.

Connectez-vous pour commenter.

Réponses (3)

Walter Roberson
Walter Roberson le 22 Jan 2025

1 vote

If you do not want autosave, then turn it off.
Preferences -> Editor/Debugger, click downward triangle to expand menu -> Saving -> Backup options -> Automatically create backup files while working in the MATLAB Editor
Prabhan Purwar
Prabhan Purwar le 25 Mar 2021
Modifié(e) : Prabhan Purwar le 25 Mar 2021

0 votes

Hi,
.m and .mlx files are created and need to be saved for running code using RUN functionality, .asv files are backup files, which is available in desktop version only. It would be helpful if you could share the reproduction steps including the type of file you have created so that we can replicate the issue. A workaround to execute code without saving anything would be to put the code inside of a section block and use the "Run Section" action instead.
Thanks

1 commentaire

The file i created is a .m file, when i change a value and not click on save and directly click on run matlab online is generating a .asv file and then executing my command.
But recently from yesterday its saving .asv files only sometime not all the time. Thats working fine for me for now. I hope to see a preference option to turn off auto save as in desktop version.

Connectez-vous pour commenter.

Jordan
Jordan le 11 Fév 2023

0 votes

When you open a new document called Untitled, and spend hours working on a project or an assignment, and a connection is lost, then you lose all of your work. Hopefully this answers the question. The autosave seems to not work in the online version for new, untitled documents.

Catégories

En savoir plus sur Scripts dans Centre d'aide et File Exchange

Produits

Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by