[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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Weitere Antworten (0)

Kategorien

Mehr zu Platform and License finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by