is it possible to recover Livescript after the crash?

25 views (last 30 days)
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
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.)

Sign in to comment.

Answers (1)

Tanapol Klaewpaipan
Tanapol Klaewpaipan on 20 Mar 2022
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
S Ch
S Ch on 16 Nov 2022
I don't have this folder, so I lost all my code !

Sign in to comment.

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!