How to recover unsaved matlab script if Matlab shutdown automatically?

178 vues (au cours des 30 derniers jours)
Kamran Afroz
Kamran Afroz le 13 Nov 2021
Réponse apportée : dpb le 13 Nov 2021
HI,
I was writing a script and I forgot to save it and suddenly my pc restarts which closed my matlab and when I started matlab again I could'nt found that unsaved script.
Is there any way to recover that unsaved script?
Thanks.

Réponse acceptée

dpb
dpb le 13 Nov 2021
NB: There's a checkbox in preferences for automagically deleting the backup files when the editor closes that is "ON" by default I believe. But, if the editor is still open when the crash occurs, then the .asv files should still be there and current as of the time since the last scheduled save interval. Any changes between that time and the crash will be lost, but you'll at least have a starting point of the last session.

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by