[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