Recover Live Editor Code?

49 ビュー (過去 30 日間)
David Clark
David Clark 2020 年 8 月 7 日
移動済み: Dyuman Joshi 2023 年 12 月 12 日
I loaded a trial version of Matlab and after a few hours of training I was editing code in the Live Editor. I was running the code which involved computing an array of 1000x240 elements. I was running slowly and displaying lots of what appear to be correct results. It seems to update the display after every element! After several minutes everything disappeared. I don't want to start over. Is there a file where Matlab has been saving the status of the Live Editor that I may be able to recover?
I did see the following error message in the Command Window. I think it says it ran out of memory. My Windows 64 machine has 64GB of memory.
render process terminated: null
java.lang.NoSuchFieldError: TS_PROCESS_OOM
  10 件のコメント
Walter Roberson
Walter Roberson 2023 年 1 月 31 日
You need to report that to Mathworks Support.
Nicole009
Nicole009 2023 年 12 月 12 日
編集済み: Nicole009 2023 年 12 月 12 日
@Nick Patterson same, running R2023a. I have my MATLAB java heap set to 7988 MB (the max it'll let me set it to). System RAM is currently 64 GB, but I've got another 64 MB I'll soon install for 128 GB. I get this error frequently
render preocess terminated: null
java.lang.NoSuchFieldError: TS_PROCESS_OOM
when working with Live Scrips, which is pretty much always now. Any fixes out there??
The .mlx files have become increasingly buggier run-to-run; so much so that I'm considering going back to .m files. I do like the visual interface of the .mlx though so I'm trying my best to make it work. Just like you, I just hit it scrolling through the live script, not even running it (but I get it running it too). Plots also seem to pop out sometims but not other times, but that's for a separate thread.

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

回答 (1 件)

Alejandro González
Alejandro González 2023 年 6 月 30 日
Its too late, but I found a simple solution that could helped others:
https://es.mathworks.com/matlabcentral/answers/1706520-how-do-i-recover-a-previous-matlab-live-editor-mlx-file-version-that-went-lost#answer_1265338

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by