[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 个评论

@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.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Platform and License 的更多信息

产品

版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by