is it possible to recover Livescript after the crash?

26 ビュー (過去 30 日間)
alpedhuez
alpedhuez 2020 年 7 月 25 日
コメント済み: Stephen Arinze Obi 2024 年 5 月 10 日
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
Tanapol Klaewpaipan 2022 年 3 月 20 日
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 件のコメント
S Ch
S Ch 2022 年 11 月 16 日
I don't have this folder, so I lost all my code !
Stephen Arinze Obi
Stephen Arinze Obi 2024 年 5 月 10 日
Saving lives since 2022

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by