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

4 Ansichten (letzte 30 Tage)
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!

Antworten (1)

Keerthana Ramesh
Keerthana Ramesh am 18 Aug. 2022
Bearbeitet: Keerthana Ramesh am 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 Kommentare
Walter Roberson
Walter Roberson am 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.
Jordi Wijlens
Jordi Wijlens am 18 Aug. 2022
Thank you very much guys for your answers. I will try and see if this works!

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by