MATLAB Answers

Matlab 2021a runs extremely slow on macOS Big Sur version 11.31

34 views (last 30 days)
SREEMAYEE ADITYA
SREEMAYEE ADITYA on 9 Sep 2021
Edited: SREEMAYEE ADITYA on 15 Sep 2021
My Matlab(2021a) code is running very fast on windows 10 Pro desktop (Intel i7 CPU @ 3.20 GHz, 48 GB RAM), but it's extremely slow on macOS Big Sur (M1 chip, 16 GB RAM). I find the data reading inside the loops is significanly slower on mac. Is it due to some optimization issue? What is the possible solution to make matlab faster on mac?

Answers (1)

Anshika Chaurasia
Anshika Chaurasia on 15 Sep 2021
Edited: Anshika Chaurasia on 15 Sep 2021
Hi Sreemayee,
There was a performance regression in the later versions of Big Sur, and this issue is being investigated currently.
In the meantime, the workaround is to start MATLAB from the Terminal as described here. There are no additional startup flags needed.
cd /Applications/MATLAB_R2021a.app/
bin/matlab
  3 Comments
SREEMAYEE ADITYA
SREEMAYEE ADITYA on 15 Sep 2021
Thanks for your reply. yeah, It's true that starting MATLAB from the terminal makes the code a little faster. However, there's a persisting problem of overheating of Mac while running the code. I'm not sure if it's related to the optimization issues or not. I've also disable the source control to resolve this issue. It's also improved the heating problem a bit, but not significantly. I'm eagerly waiting to use an optimized MATLAB for mac to experience a better performance like the one it's giving me currenly on my windows desktop.

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!