[Matlab Online] Internal Error: "Reference to a cleared variable logger."

I am running a a long-ish script I have received from a colleague in Matlab Online. After running for some time (half an hour to a few hours) I receive the "Reference to a cleared variable logger." error, which according to the stacktrace originates in either mls.internal.figureCreated or internal.matlab.desktop.editor.ClearAndSetBreakpointsForFile (line 45)
Unfortunately, as soon as the error hits a popup tells me "Matlab has experienced an internal error and needs to be restarted". If I close the popup the page instantly refreshes and I lose the stacktrace etcetera. I managed to get the following printscreen of a partly visible stacktrace:
The script contains intermediate calls to clear variables but I would expect that not to interfere with matlab internals. Any help to resolve this issue would be greatly appreciated.

1 件のコメント

Sebastiaan Vermeulen
Sebastiaan Vermeulen 2021 年 8 月 11 日
@MathWorks Support Team I am starting to suspect that this is a bug in Matlab Online. If I run the command scriptname I get a timeout warning after some time for 'being idle' (IE waiting for the script to finish). If I run the command run <scriptname.m> I do not get a timeout warning, and instead it seems my session gets partly killed on the background for being idle, tripping an error when my code tries to progress.

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

 採用された回答

Cris LaPierre
Cris LaPierre 2021 年 8 月 11 日

0 投票

You can report suspected bugs here.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePlatform and License についてさらに検索

製品

リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by