Matlab 2020b won't open on Mac OS Big Sur

I've recently updated to Matlab 2020b, which has worked fine for a number of weeks. I have updated my Mac OS to Big Sur this weekend, and Matlab 2020b now won't open (not excluding the possiblity that this could be a coincidence).
The icon appears for a second or so, as if it is loading up, and then disappears. I have tried restarting my computer, reinstalling Matlab, and reinstalling Java (following suggesitons on previous posts). Any recommnedations would be very welcome!
Thank you.

 Réponse acceptée

Ameer Hamza
Ameer Hamza le 16 Nov 2020
See what happen when you try to start it from command line. Run following line in terminal
/Applications/MATLAB_R2020b.app/bin/matlab

2 commentaires

Laura Hobbs
Laura Hobbs le 16 Nov 2020
This worked, thanks very much! Couldn't run through Terminal, but found the same file in the directory and it worked.
Is there any way I can now launch Matlab without having to follow this process everytime.
Thank you for your advice.
I recently updated to Big Sur but didn't face this problem. So I am not able to try anything to solve this. Maybe create a symlink on the desktop so you can launch MATLAB by double-clicking it. For example
ln -s /Applications/MATLAB_R2020b.app/bin/matlab ~/Desktop/matlab

Connectez-vous pour commenter.

Plus de réponses (6)

Dmitry Savransky
Dmitry Savransky le 22 Déc 2020

11 votes

I just ran into this, and it appears to be a disk access issue (same thing - can't launch from icon but can launch from command line). To fix, go to Preferences>Security & Privacy>Full Disk Acccess, unlock, and click the check box by MATLAB, and it should start launching via the dock icon once more.

13 commentaires

haoyue gao
haoyue gao le 29 Déc 2020
This works, Thanks!
Nanny Wermuth
Nanny Wermuth le 23 Jan 2021
This worked for me as well, many thanks
Brandon
Brandon le 10 Fév 2021
This worked a treat! Thanks alot!
abebe amare
abebe amare le 14 Mar 2021
dude it worked for me!! You saved my day!!
It's work. Thank you very much.
Liu Liu
Liu Liu le 14 Juin 2021
I encountered the same problem. And your advice worked. Thanks so much!!
this worked for me too! Thank you!
Yining Zhang
Yining Zhang le 26 Juin 2021
Modifié(e) : Walter Roberson le 24 Mai 2022
This just worded for me! Thank you and I love you!
Albert Piersson
Albert Piersson le 5 Juil 2021
This didn't work for me. Can anyone be of help pls? I have tried severally without luck.
Shahad Albrahim
Shahad Albrahim le 30 Sep 2021
Thank you SIR! Trust me when I say I never comment but you just helped solve the problem that Mathworks IT guy couldn't solve so, I needed to show respect.
Have a good day :)
Dejah Nash
Dejah Nash le 27 Jan 2022
This helped me too! Thank you!
Emily Pitts
Emily Pitts le 24 Mai 2022
This also worked when using MATLAB 2022a on Monterey! Thanks!
Eliza Lovrich
Eliza Lovrich le 23 Fév 2023
You are a lifesaver! Thanks!

Connectez-vous pour commenter.

Alperen kilic
Alperen kilic le 14 Déc 2020

0 votes

ı am using big sur on 2019 mac pro base model. when i click matlab, the pc is not responding.
John D'Errico
John D'Errico le 2 Jan 2021
Modifié(e) : John D'Errico le 2 Jan 2021

0 votes

The simple solution of course to resolve any problems is to use R2021. It seems to run nicely on Big Sur. That is, given we are in 2021.

1 commentaire

Nanny Wermuth
Nanny Wermuth le 23 Jan 2021
I cannot see any version 2021 on mathworks.com, so how did you access it?

Connectez-vous pour commenter.

thomas greenhill
thomas greenhill le 3 Fév 2021

0 votes

I'm also having this problem.
When I originally updated to Big Sur, I was able to get R2021a to open by changing the Full Disk Access settings as Dmitry suggested.
Big Sur automatically updated again last night, and I'm now on version 11.2, and MATLAB won't open this morning. The logo pops up and stays open, but the IDE never presents itself. The disk privileges fix that worked last time doesn't work anymore. I can't even open R2021a from the command line with sudo privileges by typing:
sudo "/Applications/MATLAB_R2021a.app/bin/matlab"
in terminal.
Is there a permanent fix for this? I've honeslty found Big Sur extremely buggy. Have others had a similar experience with the updated OS?

2 commentaires

Arun Tangirala
Arun Tangirala le 15 Fév 2021
Yes, Big Sur better be renamed as Bug Sure, for the significantly poor and buggy performance!
With MATLAB and SIMULINK on Big Sur, I find slow response from SIMULINK. Add to it the screen sharing on MS Teams (sufficient to embarass you if you are a course instructor). Whether it is the issue with Big Sur or SIMULINK or their interplay, I am not sure but I suspect Big Sur has a stronger role in slowing things down. On the other hand, MATLAB, especially SIMULINK has also been growing into a resource consuming dinosaur :-)
Arun Tangirala
Arun Tangirala le 15 Fév 2021
Btw, I am using updated Big Sur (Mac OS 11.1) and MATLAB R2020b.

Connectez-vous pour commenter.

thomas greenhill
thomas greenhill le 12 Fév 2021

0 votes

Update:
If you are connected to an external monitor, try unplugging it, opening up MATLAB with your laptop screen open, then plugging monitor back in.
This solved it for me and it appears MATLAB is still struggling with some screen-level events on macOS.
I hope this will help someone in the future!

5 commentaires

Gab C
Gab C le 1 Mai 2021
This is INCREDIBLE!... Solved! I cant believe this, I have an imac used as monitor for my macbook and got the same issue... Matlab actually opens but with a mini screen sometimes hidden.
Craig Branch
Craig Branch le 1 Nov 2021
Incredible is right - this just fixed the same problem for me - upgraded to big sur 11.5 and matlab would stall at the logo. Using StarTech's Diplay-Link 2-monitor device, which Matlab seems to have a problem with. Ugh.
After matlab opens, turn the display-link back on an all is OK.
Scott Fairhall
Scott Fairhall le 6 Jan 2022
This (somewhat bizzare) solution also worked for me. Thanks, Thomas.
This weird solution was a lifesaver for me!
Jacob Sibi
Jacob Sibi le 11 Avr 2022
Modifié(e) : Jacob Sibi le 11 Avr 2022
This solution is what worked for me! Thank you so much

Connectez-vous pour commenter.

Brentian~
Brentian~ le 6 Avr 2022
Modifié(e) : Brentian~ le 6 Avr 2022

0 votes

I found this problem relates to the ATS.Framework on Mac OS. I was unable open matlab on Monterey using the -desktop option.
I fix this by following this thread.
https://discussions.apple.com/thread/251155390
Hope this helps someone for it bothers me for quite a long time

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by