I have a m1 macbook air. For the past two days, I can not get Matlab to run on my device. It keeps freezing as soon as I open it.

14 ビュー (過去 30 日間)
I have tried deleting and reinstalling it properly (deleted hidden files etc.) at least twice. Even cleared the cache and the vram. Still nothing. Plus I also note that it's not that matlab is taking up a lot of resources (according to activity monitor only 2gb memory which is nothing).
Another thing to notice is that the problem began with v2020 and I installed v2021 and the problem still persists.

採用された回答

Chidvi Modala
Chidvi Modala 2021 年 6 月 7 日
A possible root-cause of this issue might be the simultaneous initialization of the MATLAB Editor when MATLAB session is initializing.
You can perform the following troubleshooting steps to check if this is the root-cause of the freezing behavior:
  1. Launch MATLAB R2020a using the -nodesktop flag. To do this, you may perform the following steps
a. Using the Terminal App navigate to
/Applications/MATLAB_R2020a/bin
b. Run
./matlab -nodesktop
to initiate a no-desktop MATLAB session.
2. Execute the following MATLAB commands:
>> s = settings;
>> s.matlab.editor.InitializeAtStartup.PersonalValue = 0;
3. Exit the no-desktop session and launch a regular MATLAB R2020a session.
If the above workaround doesn’t work, you may contact MathWorks Support teamhttps://www.mathworks.com/support/contact_us.html
  2 件のコメント
Muhammad Chaudry
Muhammad Chaudry 2021 年 6 月 9 日
Yep it did not work. I am in touch with mathworks support. Thanks for the response
Pierre Pouget
Pierre Pouget 2022 年 2 月 2 日
same issue here. thanks for posting the solution.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by