Cannot open a script file after running a code (Mac M1 silicon)
12 次查看(过去 30 天)
显示 更早的评论
If i try to open a new (live) script file after running a code, the script becomes a blank.
I don't have this kind of problem when I use a laptop with Windows OS, but this only happens on my Mac (M1).
I am keep turning off and restarting the matlab everytime i want to change the .m file, but this is so inconvenient.
Anyone can help me please?
2 个评论
回答(1 个)
Amish
2023-10-30
编辑:Amish
2023-10-30
Hi Sangheon,
I see that you are facing issues with respect to the MATLAB editor, where the scripts are appearing blank after running the scripts. I also notice that this issue is occurring only in case of the M1 MacBook Machine that you are using.
Since you have not shared your logs, it is difficult to tell what the exact issue is, however, I could recommend you some of the common troubleshooting solutions for M1 Mac based machines.
- I see that you are using the R2021b version. You can alternatively try to install the MATLAB R2022b Native Apple Silicon Open Beta. The link of it can be found at: https://www.mathworks.com/support/requirements/apple-silicon.html
- I suspect that these kinds of issues could have been due to some opengl quirkiness. As a result, you could try the running the following in command window: “opengl hardwarebasic”
- Since MATLAB uses opengl for its GUI and MacOS does not exactly have a proper support for it, this command enables a simpler version for it.
- At last, if the issue still persists, you could try contacting the official MathWorks support. Please refer to the following answer containing the steps for the same: https://www.mathworks.com/matlabcentral/answers/1814670-scripts-become-blank-and-unviewable-on-r2022a-b-m1-mac#answer_1065615
You could also refer to the following community discussion which highlights a similar problem: https://www.mathworks.com/matlabcentral/answers/1814670-scripts-become-blank-and-unviewable-on-r2022a-b-m1-mac
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!