How to recover Mat data?
4 views (last 30 days)
Show older comments
Sadiq Akbar on 8 Jan 2023
Commented: Sadiq Akbar on 9 Jan 2023
I had saved my worksapce data with the name 'abc'. This had many variables some of which were scalars and some of which were vectors and even some of them were matrices. I loaded it by using the command:
All its data was loaded in the worksapce. Then I changed the name of one variable and then used the commands:
After this I saved again the workspace by using the command:
Then I realized that clear all and clc had erased my whose worksapce data and save abc just saved my epmty worksapce. But it was very late then. Even I pressed the CTRL+Z keys to undo it but in vain. Now how can I recover my old abc file data?
Walter Roberson on 8 Jan 2023
Edited: Walter Roberson on 8 Jan 2023
Sorry, there is nothing you can do at the MATLAB level. Time to use the regular backups that you have been making.
(If you are using Windows then one of "undelete" programs might perhaps be useful.)
More Answers (0)
Find more on Whos 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!