How can I resolve issue with .mlx file showing a blank screen?

48 views (last 30 days)
I do lots of grading MATLAB projects in .mlx files, and so I do a lot of clicking back and forth between tabs containing an answer key and student submissions. After about 10-15 minutes of use, one of the .mlx files will often turn into a blank white screen when I click on the tab and stop displaying anything. This only seems to happen with .mlx files. Closing and reopening the tab does not resolve this, so each time this happens I have to fully quit and restart MATLAB (which has always resolved the issue). Is there a fix for this issue, or is there a more appropriate forum where I can report this as a bug?

Accepted Answer

Cris LaPierre
Cris LaPierre on 20 Dec 2022
Where this is unexpected behavior, I would suggest reporting this as a bug. You can do that here:

More Answers (1)

Daksh
Daksh on 21 Dec 2022
Edited: Daksh on 21 Dec 2022
I understand that you're experiencing issues with .MLX files going blank on reopening multiple files.
Similar issues have been encountered in older releases of MATLAB (19a, 19b) where .MLX files appear blank after strenuous file usage for time, and this doesn't happen with .M files. The issue appears to be related to the underlying browser framework that the live editor uses. The code runs correctly in the background even when the editor is blank, hence it's not an error in the execution itself.
One potential workaround is to upgrade to the latest version of MATLAB which should have some browser upgrades that address a variety of performance issues with the live editor.
If this doesn't resolve the same, feel free to report a bug on this link: Report a Bug, else, please contact Technical Support
MathWorks Support information is available here:
Hope it helps!
  1 Comment
Britta Meyer
Britta Meyer on 23 Dec 2022
I encountered this issue using the latest release, so I will report it as a bug. Thank you!

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!