How to recover code of an unsaved m file?

조회 수: 62 (최근 30일)
GMD Baloch
GMD Baloch 2019년 4월 22일
댓글: Sanders A. 2022년 4월 5일
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?

답변 (1개)

Image Analyst
Image Analyst 2019년 5월 25일
Look in the folder for a .ASV file with the same base file name.
  댓글 수: 2
Sanders A.
Sanders A. 2022년 4월 4일
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. 2022년 4월 5일
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"

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by