Matlab R2021a does not open anymore after updating to Update 7 on MacOS Big Sur 11.6.8

5 vues (au cours des 30 derniers jours)
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!

Réponses (1)

Keerthana Ramesh
Keerthana Ramesh le 18 Août 2022
Modifié(e) : Keerthana Ramesh le 18 Août 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 commentaires
Walter Roberson
Walter Roberson le 18 Août 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.
Jordi Wijlens
Jordi Wijlens le 18 Août 2022
Thank you very much guys for your answers. I will try and see if this works!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by