All of the files in C:\Users\C​atriona\Do​cuments\MA​TLAB\ have dissapeared!!!!

2 views (last 30 days)
Please help, all of my code, data files etc are gone completely! I don't know how this has happened, I did not delete anything from this directory. There are still references to files that were in the folder in the drop down folder menu but if I click on them nothing comes up. In my documents I have checked and there is nothing in the folder. None of the missing files are in the Recycle Bin either. I have no-idea what could have happened. I have a back up of most of the files but not the most recent model runs which equates to a lot of hours of modelling. Plus, how on earth could this have happened, none of my other files are affected??!!

Answers (1)

Image Analyst
Image Analyst on 7 Sep 2013
You probably deleted them in your code without realizing it. Do you have the word "delete" anywhere in your code? If so, you can put recycle on to give an extra level of safety:
recycle on; % delete() now sends to recycle bin instead of destroying.

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!