How to recover unsaved matlab script if Matlab shutdown automatically?
184 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
dpb
2021-11-13
See previous Answer https://www.mathworks.com/matlabcentral/answers/103130-does-the-matlab-editor-debugger-automatically-save-open-files#answer_112475
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.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!