[Matlab Online] Internal Error: "Reference to a cleared variable logger."
Show older comments
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 Comment
Sebastiaan Vermeulen
on 11 Aug 2021
Accepted Answer
More Answers (0)
Categories
Find more on Platform and License in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!