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

93 visualizzazioni (ultimi 30 giorni)
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
MATLAB:
  • R2022b (same issue occurs on R2022a)
  • 64-bit maci64
Please let me know if any other information would be helpful. Thanks!
  8 Commenti
Steven Lord
Steven Lord il 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.
Jenny Bosten
Jenny Bosten il 15 Ago 2024
I am experiencing the same issue across 3 different macs (intel, M1 and M2) for R2022, R2023 and R2024. Started occuring about 6 months ago, probably when I upgraded OS to Monterey/Sonoma.

Accedi per commentare.

Risposte (5)

Aldo Corbellini
Aldo Corbellini il 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.
  1 Commento
Anirudh
Anirudh il 1 Giu 2024
I had the same issue on 2024a maca64 and this opengl hardwarebasic works for me.

Accedi per commentare.


MARCO
MARCO il 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 (https://it.mathworks.com/support/apple-silicon-r2022b-beta.html).

Iain
Iain il 11 Lug 2023
I am having this issue too ... I'm using an M2 Pro Mac Mini 32GB Ram, running Ventura 13.4.1 and MATLAB 23a.
I have found a work around but its a bit of a stupid/non solution. Basically, if I open MATLAB in full screen mode, then close it ... next time it will re-open in its previous state (i.e. full screen mode). After that it works fine if I subsequently reduce the MATLAB window size.
Its like MATLAB is somehow mixing up the allocation of window size with screen size. So ... if you open it up as a window that is smaller than the full screen and then re-size the window, it starts to loose track of how much space it has available and leaves blank unfilled sections on the screen as you re-size the window. Whatever is happening, its certainly not refreshing the screen properly as the window changes.

Santosh Fatale
Santosh Fatale il 3 Ott 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 il 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.
  3 Commenti
Chad Greene
Chad Greene il 14 Dic 2022
Unfortunately all three folders are checked for me, and I'm still experiencing the issue.

Accedi per commentare.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by