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

93 次查看(过去 30 天)
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 个评论
Steven Lord
Steven Lord 2023-2-21
@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 2024-8-15,6:51
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.

请先登录,再进行评论。

回答(5 个)

Aldo Corbellini
Aldo Corbellini 2023-3-25
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.

MARCO
MARCO 2022-11-26
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).

Santosh Fatale
Santosh Fatale 2022-10-3
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 2022-11-1
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 个评论
Chad Greene
Chad Greene 2022-12-14
Unfortunately all three folders are checked for me, and I'm still experiencing the issue.

请先登录,再进行评论。


Iain
Iain 2023-7-11
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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by