Scripts become blank and unviewable on R2022a/b (M1 mac)

109 views (last 30 days)
I'm regularly experiencing an issue where several minutes after opening and using MATLAB, all tabs (for all other scripts/live scripts) asides from the one that I've been actively working on will become completely white and blank. Seemingly nothing will fix the issue except restarting MATLAB which is extremely annoying. The contents don't seem to be getting affected, it just becomes impossible to work on anything except a single script. Closing and reopening the tabs does nothing and newly created scripts are also unusable. I have seen other posts suggesting that this could be an issue with opengl hardware rendering, however on my computer opengl software rendering doesn't seem to be supported.
Computer specs:
  • MacOS Monterey 12.2.1
  • Macbook air M1 2020
  • Memory: 16 GB
  • R2022b (same issue occurs on R2022a)
  • 64-bit maci64
Please let me know if any other information would be helpful. Thanks!
Steven Lord
Steven Lord on 21 Feb 2023
@Timber In that case please contact Technical Support using the instructions @Santosh Fatale posted and work with the Support staff to determine the cause of this behavior.

Sign in to comment.

Answers (4)

MARCO on 26 Nov 2022
I had the same problem, and I spent weeks trying to figure out a solution.
Apparently, installing the MATLAB R2022b Native Apple Silicon Open Beta solved the issue (

Aldo Corbellini
Aldo Corbellini on 25 Mar 2023
I have a 13" Macbook M1 with 16 Gb and Ventura 13.2.1 and I have the same issues.
I noticed that when you close MATLAB after having these issues, you can see the following error for just a split second:
Warning: Graphics timeout occurred. To share details of this issue with MathWorks technical support, please include that this is an unresponsive graphics client with your service request.
So I thought that these issues could have been an opengl quirkiness.
After searching how to run the MATLAB GUI with a software version of opengl I learnt that, on MacOS, software opengl is not supported.
But then I found this command that enables a simpler version if opengl.
In the command windows type:
opengl hardwarebasic
Now when the scripts tabs become unresponsive you still got the same error but somehow MATLAB is able to recover in a couple of seconds and the scripts are displayed correctly.
Let me know if this option is able to fix your issues as well.

Santosh Fatale
Santosh Fatale on 3 Oct 2022
Hi Jonathan,
I understand that you are facing an issue with MATLAB installation. To understand the issue better and assist you there is a need to investigate it further.
You can create a service request by following the MATLAB Support link below for the issue you are encountering and provide all the details related to the issue

Jonathan Lilly
Jonathan Lilly on 1 Nov 2022
I had this issue too on both an M1 mac and an Intel mac after upgrading both to Ventura.
It was solved by going to System Settings > Privacy and Security > Files and Folders > Matlab and giving permission for all three folders: Desktop, Downloads, and Documents.

Sign in to comment.


Find more on Introduction to Installation and Licensing 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!

Translated by