Matlab working very slow on my m1 MacBook Pro
Show older comments
Hi,
I downloaded 2020b update 5 version which said to be compatible with rosetta 2. Although I downloaded the right version matlab works incredibly slow I even cannot close the app. I tried to do what https://www.mathworks.com/matlabcentral/answers/262442-java-heap-space-out-of-memory-problem this problem says but even though I disabled the MathWorks Source Control Integration it still was slow. Is it about the java heap memory and how much should I inrease that? Thanks.
10 Comments
Christopher Koch
on 18 May 2021
I have the same issue here. I even ramped up the java heap memory as much as possible. Still slow and not useable.
Alara Altinkalem
on 18 May 2021
Walter Roberson
on 18 May 2021
People have been reporting problems since they installed the Big Sur OS update.
MYMartin1206
on 24 May 2021
Same issue. Ended up going back to R2017b and it works much more smoothly on the M1 Air with the latest Big Sur update. Of course this won't help everyone, but might be worth a shot if you don't need any of the latest MATLAB features...
Vaclav Stepan
on 1 Jun 2021
Updating to 2021 doesn't help.
Caspar Hanselaar
on 3 Jun 2021
I have similar issues, increased heap size to 2112 MB, and matlab is excruciatingly slow even with no variables loaded, on Macbook M1 Air 16GB ram 512GB storage (380GB available)
Thea Dianne Laylo
on 7 Jun 2021
Mine performs a quite faster when I work offline. if its an option for the type of your simulation, maybe go try it.
Benjamin Cameron
on 16 Nov 2021
I could also only solve this by changing version to 2017b, so plus 1 to comment by MYMartin1206
Angelo
on 23 Jan 2023
The 2022 version is so slow in MacOs Ventura. Did anyone found a solution other than installing the 2017 version?
SamuLibero
on 6 May 2023
Same here, it frustrating how slow it is. Live scripts work every full moon ...
Answers (2)
Weinan Wang
on 12 Jun 2021
5 votes
In my case, the lag disappears if I start MATLAB from Terminal everytime. It's strange to see that while it could run good, it is running slow when started from the ususal App icon.
7 Comments
Weinan Wang
on 12 Jun 2021
I start MATLAB by typing the following commmand in Terminal:
/Applications/MATLAB_R2021a.app/bin/matlab
Vaclav Stepan
on 12 Jun 2021
Yes, I see this as well. Also, it hangs much more rarely.
Vio Buchete
on 20 Sep 2021
Thanks, this solved the slow down/ freeze issue for me as well (on powervook M1 with Mac OS 11.5.2 Bug Sur.
Jacqueline McSweeney
on 27 Jul 2022
This has helped a lot (on Mac M1 Max with MacOS 12.5 Montgomery)
Nelson Mark
on 23 Dec 2022
Starting MATLAB from the terminal didn't help speed up things for me.
Nelson Mark
on 23 Dec 2022
Mine runs REALLY SLOW. A job on my old macbook (2016) with 2.8GHZ intel i7 takes 5 minutes. On the new macbook M1 it takes 8 minutes. 60 percent longer!
Steve Eddins
on 8 Jul 2021
2 votes
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!