How to recover code of an unsaved m file?
74 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (1 件)
Image Analyst
2019 年 5 月 25 日
Look in the folder for a .ASV file with the same base file name.
2 件のコメント
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.
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"
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!