Cannot open a script file after running a code (Mac M1 silicon)
3 ビュー (過去 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!