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!