is it possible to recover Livescript after the crash?

26 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2020-7-25
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.)

请先登录,再进行评论。

回答(1 个)

Tanapol Klaewpaipan
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 个评论

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by