is it possible to recover Livescript after the crash?
Show older comments
I was working on a calculation on Livescript.
Livescript crashed and matlab closed
I re-opened Matlab but Livescript is gone.
Is it possible to recove the Livescript?
1 Comment
Walter Roberson
on 25 Jul 2020
Look to see if you have a .asv file (Windows) or a filename whose extension ends in ~ (on mac)
I am not sure whether the autosave name for livescript is the same .asv extension though.
Also if you look at the first entry in your matlab path (pathtool is probably the easiest way) then it will name a temporary directory. That temporary directory might contain files with fragments of the MATLAB code itself -- fragments that were written there while MATLAB was executing the livescript files (it cannot execute the files directly and has to extract the MATLAB from them.)
Answers (1)
Tanapol Klaewpaipan
on 20 Mar 2022
9 votes
I know this too late to answer this question but I will continue to answer this question from my experience about hour ago for who found the same problem.
I found the same problem like you. Thus, my solution is find it 'Temporary files folder', I found the livescript autosaved in folders 'Editor_xxxxx' there are you livescript files 'LiveEditorEvaluationHelperExxxxxxxxxx.m'.
I think this solution will help anyone who found this problem.
4 Comments
Daniel Carlos da Silva
on 3 Aug 2022
Honestly, this was incredibly helpful! I had a .mlx file that I had not yet saved when the PC crashed, and a .m version of it was in one of these folders. For those who can't find the temporary files folder, tap %temp% on Windows Explorer (if you're on Windows, of course) and it will redirect ou to the folder.
Seyed Mahmoud Seyedi Sahebari
on 14 Nov 2022
I owe you ! This comment helped me to find an unsaved mlx file that I was working on it since early morning to the midnight.
S Ch
on 16 Nov 2022
I don't have this folder, so I lost all my code !
Stephen Arinze Obi
on 10 May 2024
Saving lives since 2022
Categories
Find more on Startup and Shutdown 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!