MATLAB Answers

Why am I unable to start MATLAB on macOS 10.10 Yosemite or later?

43 views (last 30 days)
After installing macOS 10.10 or later (such as macOS 10.11) I am no longer able to launch MATLAB (for any release version). This support article also applies to customers who have successfully installed MATLAB R2014a in macOS 10.10, but are now unable to launch MATLAB.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 1 Feb 2021
Edited: MathWorks Support Team on 6 Feb 2021
MATLAB R2014b is supported on macOS 10.10 (Yosemite) and later. R2014b works without any modifications. Earlier versions may require a patch, or a legacy version of Java, or both.
MATLAB R2012a through R2014a
When launching MATLAB, you will see a Java exception and abrupt exit upon startup. This patch should fix this error:
Even after applying the patch you may see this error message when launching MATLAB:
ERROR: "You can't use this version of the application".
This issue can be resolved by following the steps in the Bug Report linked below:
MATLAB R2008b through R2013a
These releases of of MATLAB require Apple's legacy Java 6 to run:
You will also need to install XQuartz, an open source implementation of X11, to run these releases:
Note that R2011a through R2013a require legacy Java 6, XQuartz, and the above patch to run
MATLAB R2008a and earlier
MathWorks is not aware of a way to make R2008a or earlier run on OS X 10.10 or later. If you discover a workaround for this configuration, please contact MathWorks support:
  9 Comments
Sara Ortega
Sara Ortega on 6 Oct 2018
Is there a patch to R2011b? I cannot find it since the links start with R2012a as Abhijith pointed out back in 2016.

Sign in to comment.

More Answers (9)

Josh Brinks
Josh Brinks on 24 Mar 2015
I installed the patch for 2011a, and it is still not working.
  1 Comment
Josh Brinks
Josh Brinks on 24 Mar 2015
Upon examining the error log that was being sent to our friends at apple, I found that problem was the X11 library has been moved from /usr/X11 to /opt/X11. This is solved by simply creating a symbolic link.
> sudo ln -s /opt/X11 /usr/X11
For those of you who are interested, the error message was: dyld: Library not loaded: /usr/X11/lib/libXt.6.dylib. Yaayy google searches.

Sign in to comment.


Ryan
Ryan on 6 Nov 2014
I successfully downloaded and patched 2012a but my 2012a_student version still won't open and gives me this error
  2 Comments
Guillaume
Guillaume on 19 Nov 2014
10.39 update (waited about 24h) + java patch (link in MathWorks' response), followed by reinstall of X11 (link above), followed by install of java 6 ( http://support.apple.com/kb/DL1572 ) = MATLAB_R2012a_Student working again!

Sign in to comment.


Rachid Log
Rachid Log on 7 Nov 2014

Apple already solved the problem. Click on the link below then download the Java that apple provide: http://support.apple.com/kb/DL1572

  1 Comment
Shawn Lyons
Shawn Lyons on 13 Feb 2015
Please note that this is only an installer for Java 6 for OS X.
You will still need to apply the bug-report fix as described in the accepted answer above, for MATLAB versions R2011a through R2014a in OS X 10.10. If you do not apply the patch as described in the bug report above, you will still receive an 'Error starting desktop' message. Simply installing Java 6 will not resolve that problem.
-Shawn
MathWorks Support

Sign in to comment.


Nicolas
Nicolas on 21 Mar 2015
I recently purchased a new MacBook Pro running OS 10.10.2 and am unable to install the R2013a version of Matlab that I currently own. The InstallForMacOSX.app crashes immediately after opening without an error message.
The directions for installing the patch seem to imply that Matlab already be installed.
I would greatly appreciate some help / advice in getting Matlab up and running again.
Cheers, N
  3 Comments
Walter Roberson
Walter Roberson on 18 Oct 2015
Ali, OS-X 10.7.5 ("Lion") was only supported on Intel based systems, so we know you must have an Intel based iMac. There is a narrow window of about 20 months from January 2006 to August 2007 where iMac were made with Intel chips, and those ones are not supported by the latest OS-X El Capitan . The aluminum iMac and later, as of August 2007, are all supported on El Capitan. As a further hint, OS-X 10.7 was not included with any iMac before the aluminum one, so if you have never upgraded your OS before then you do have one of the iMac that is supported in the latest version of OS-X.
If you have the plastic iMac then even though it is Intel based, you have a problem: the last operating system supported for those was the one you have, OS-X 10.7 Lion. All following operating systems OS-X 10.8 and later, including the 10.9 that MATLAB R2015b needs, require the August 2007 or later Aluminum iMac.
If you do have a sufficiently new iMac, then you should
  1. make sure you have disk space
  2. make sure you have a backup of everything, preferably a Time Machine backup; and then
  3. visit http://www.apple.com/osx/how-to-upgrade/#hardware-requirements and click on "Upgrade Now"
The upgrade to OS-X El Capitan is free.

Sign in to comment.


Jeremy Slater
Jeremy Slater on 23 Mar 2015
I'm in the same boat as Nicolas. The patch doesn't help if Matlab (in my case, trying to install the 2012a MCR) doesn't install in the first place. My 2015a version runs flawlessly, but unfortunately I have programs that need 2012a.
Cheers also,
Jeremy
  1 Comment
Scott
Scott on 6 Jun 2015
Hi Jeremy,
You should be able to adapt these instructions to install MCR R2012a on Yosemite:
If you're having trouble, please contact MathWorks installation support for assistance. We can be reached at 508-647-7000 option 3 then 4, Mon - Fri between 8:30 AM - 8 PM EST.
-Scott Nicholas
MathWorks Installation & Licensing Support

Sign in to comment.



Qi Mei
Qi Mei on 25 Jun 2015
it is the first time i install matlab 2015a on my mac. and the icon cant be used. the system version is yosemite 10.10.3

Meltem Gölgeli
Meltem Gölgeli on 9 Jul 2015
I could not solve the problem about installing Matlab R2015a with Yosemite 10.10. I also tried to force the installer to use Java 6 as mentioned by MathWorks Support Team on 6 Apr 2015 above.
I got the attached bug report. Could you please give some suggestions?

Shrenik Shah
Shrenik Shah on 16 Dec 2015
Follow steps in this video. Once i did this I could run Matlab 2012a on OS X 10.11 El Capitan
https://youtu.be/f0zKj3SBaeA

Community Treasure Hunt

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

Start Hunting!