How to recover code of an unsaved m file?

116 visualizaciones (últimos 30 días)
GMD Baloch
GMD Baloch el 22 de Abr. de 2019
Comentada: Sanders A. el 5 de Abr. de 2022
I was doing my work on a m file for last 4 hours and I did not save it. Now I accidentally turned MATLAB off and is there anyway to recover my code?

Respuestas (1)

Image Analyst
Image Analyst el 25 de Mayo de 2019
Look in the folder for a .ASV file with the same base file name.
  2 comentarios
Sanders A.
Sanders A. el 4 de Abr. de 2022
What if it was my scratch file that was still untitled? I recognize I am a fool, but here I am...
Thanks!
Sanders A.
Sanders A. el 5 de Abr. de 2022
I guess, for those other fools who seem to find themselves in my shoes...
Under Preferences > Edittor/Debugger > BackupFiles there is an option to "Save untitled files"

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by