How to recover .m file lost due to the abnormal termination
3 views (last 30 days)
Show older comments
Hi, when I run a parallel for-loop in my code.m file, the maltab is terminatted abnormally. And when I reopen the matlab, all the code in this .m file is lost and size becomes 0 KB. Is there any way for me to recover the code? Thanks!
0 Comments
Answers (1)
Cris LaPierre
on 20 May 2022
2 Comments
Cris LaPierre
on 20 May 2022
Edited: Cris LaPierre
on 20 May 2022
This will let you see a history of commands you have typed into the command window. If your code was in a script, this step may not help you.
See Also
Categories
Find more on Entering Commands 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!