Matlab very slow (R2016a on Mac OSX)

2 views (last 30 days)
Martin Schain
Martin Schain on 15 Mar 2017
Commented: Radoya Panic on 29 Dec 2019
Hi, Matlab 2016a is unreasonably slow on my iMac (3.7 GHz i7, 16GB memory). As example, just calling the help function: >> tic, help plot, toc ... Elapsed time is 87.121085 seconds.
Does anyone have any idea of what's going on, and if there is anything I can do to fix it? Thank you, Martin
Walter Roberson
Walter Roberson on 20 Jan 2018
Is it possible that your license is being served over the network?

Sign in to comment.

Answers (3)

Andrew Wingard
Andrew Wingard on 7 Mar 2019
I had a similar problem on my mac, this was ultimately related to an app called Magnet I purchased through the app store. If you are running magnet, I suggest uninstalling the application and running matlab.
Radoya Panic
Radoya Panic on 29 Dec 2019
I'm amazed. This was happening to me for over half a year and constantly frustrated me. Using a high quality mac and still having constant lagginess during my MATLAB use made me question the quality of my MAC. I deleted magent right away and am shocked. This worked...

Sign in to comment.

Arnav Mendiratta
Arnav Mendiratta on 20 Mar 2017
It is hard to tell the cause of this behavior without more information about your system.
Here are the plausible causes:
- Low on-system RAM
- Low Java Heap Space set in 'Preferences'
- Loading some data or executing commands in 'startup.m'. You could rule out this possibility by checking if you have any commands in your 'startup' file. To open this file, execute the following command in MATLAB Command Window:
>> edit startup
- Certain graphics card and drivers have been known to cause this issue. If it is a graphics issue, you can switch to 'softwareopengl' to resolve this. If you have figured out this is indeed a graphics card issue, the best idea would be to update your driver to latest version (or roll it back to previous version if you have the most updated one.)
- Run a benchmark by typing "bench" in the command window. It will show the performance of some standard algorithms on your computer.
If you are still facing issue, you can contact The MathWorks' Technical Support team by creating a new help ticket:
They will help you troubleshoot this performance issue.
  1 Comment
Walter Roberson
Walter Roberson on 20 Jan 2018
Software opengl is not available on Mac.

Sign in to comment.

Thomas Gederberg
Thomas Gederberg on 20 Jan 2018
I have a similar problem running MATLAB 2017b on 2015 MacBook Pro (2.8 GHz Intel Core i7, 16 GB RAM). When I run benchmark, I get >> bench ans = 0.0933 0.1703 0.0464 0.1140 60.4114 63.8843
which is showing that the 2D and 3D graphics are taking an enormously long time.
  1 Comment
Thomas Gederberg
Thomas Gederberg on 20 Jan 2018
Interesting, I rebooted my Mac and the benchmark results are much improved. >> bench ans = 0.0909 0.1384 0.0499 0.1051 1.1252 0.8111

Sign in to comment.


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!