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.

 Accepted Answer

See what happen when you try to start it from command line. Run following line in terminal
/Applications/MATLAB_R2020b.app/bin/matlab

2 Comments

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

Sign in to comment.

More Answers (6)

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 Comments

This works, Thanks!
This worked for me as well, many thanks
This worked a treat! Thanks alot!
dude it worked for me!! You saved my day!!
It's work. Thank you very much.
I encountered the same problem. And your advice worked. Thanks so much!!
this worked for me too! Thank you!
This just worded for me! Thank you and I love you!
This didn't work for me. Can anyone be of help pls? I have tried severally without luck.
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 :)
This helped me too! Thank you!
This also worked when using MATLAB 2022a on Monterey! Thanks!
You are a lifesaver! Thanks!

Sign in to comment.

ı 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 on 2 Jan 2021
Edited: John D'Errico on 2 Jan 2021
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 Comment

I cannot see any version 2021 on mathworks.com, so how did you access it?

Sign in to comment.

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 Comments

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 :-)
Btw, I am using updated Big Sur (Mac OS 11.1) and MATLAB R2020b.

Sign in to comment.

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 Comments

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.
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.
This (somewhat bizzare) solution also worked for me. Thanks, Thomas.
This weird solution was a lifesaver for me!
Jacob Sibi
Jacob Sibi on 11 Apr 2022
Edited: Jacob Sibi on 11 Apr 2022
This solution is what worked for me! Thank you so much

Sign in to comment.

Brentian~
Brentian~ on 6 Apr 2022
Edited: Brentian~ on 6 Apr 2022
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

Categories

Products

Release

R2020b

Community Treasure Hunt

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

Start Hunting!