How to undo a delete?
이전 댓글 표시
How do I undo an accidental delete when using the editor for a .m file, or alternatively retrieve the .m file from before the accidental delete?
채택된 답변
추가 답변 (2개)
Trevon McHansen
2022년 4월 1일
3 개 추천
If you accidentally deleted a file or folder (such as if you right click a folder and you meant to click "new->script" and instead you hit "delete" like I just did), And if you're using windows, you can navigate to the folder in windows explorer and ctrl+z.
i.e. I just deleted the folder "src/myProject/test/files" so I navigated to "src/myProjects/test" in windows explorer and hit undo (ctrl+z) and the folder repopulated!
댓글 수: 1
Rohit
2025년 2월 4일
Thank you very much, It wokred i was able to restore my folder
Image Analyst
2015년 10월 10일
0 개 추천
Look for a file with the same name but a .asv extension. This is the prior version - your autosaved backup file.
카테고리
도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!