Matlab R2021a does not open anymore after updating to Update 7 on MacOS Big Sur 11.6.8
4 次查看(过去 30 天)
显示 更早的评论
Matlab R2021a does not open anymore after updating to Update 7 on MacOS Big Sur 11.6.8. Did anyone else run into the same problem and what was your solution?
Thank you very much in advance!
0 个评论
回答(1 个)
Keerthana Ramesh
2022-8-18
编辑:Keerthana Ramesh
2022-8-18
Hi,
This issue could possibly be due to MATLAB’s search path being incorrectly set during the base installation.
A possible workaround to resolve this issue can be by launching MATLAB without desktop and then restoring the default MATLAB search path and rehashing the toolbox cache.
1) Open MATLAB with the -nodesktop start-up flag. In the Command Prompt, enter:
On macOS:
/Applications/MATLAB_R2021a.app/bin/matlab -nodesktop
2) Enter the following commands into the MATLAB Command Window, one after the other:
>> rehash toolboxcache
>> restoredefaultpath
>> savepath
I hope this information resolves your issue.
Thanks,
Keerthana
2 个评论
Walter Roberson
2022-8-18
Well, maybe, but security updates to recent MacOS versions have changed the interpretation of environment variables, and of shared object search paths. Some people have reported trouble getting MATLAB to run. Note that the user is using R2021a not R2022a.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!