Matlab R2021a does not open anymore after updating to Update 7 on MacOS Big Sur 11.6.8
4 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Keerthana Ramesh
on 18 Aug 2022
Edited: Keerthana Ramesh
on 18 Aug 2022
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 Comments
Walter Roberson
on 18 Aug 2022
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.
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!