I've just installed the OS X Yosemite beta and can't open MATLab 2014a.
It displays this error dialog:
Does anyone have any ideas as to how this could be resolved?
**UPDATE: (OFFICIAL FIX) **
Mathworks has released a patch for Matlab 2012a ~ 2014a. Use this link to download the appropriate patch for your version
There is another issue with Yosemite Beta 2. It prevents Matlab from running at the very first point with this error message:
You can’t use this version of the application “MATLAB_R2012b” with this version of OS X.
The solution is:
Show Package Contents
You will still need to have those temporary fixes that were used in Beta 1 for running Matlab.
Here is the tutorial video for fixing the problem (on Beta 2)
and as a reminder here is the video for fixing crash on Beta 1
Definitive solution. It runs fine without system hacks or desktop aliases.
Download the patch here: http://files.mc128k.info/data/public/92d26d.php
1. Edit version number
It may be easier to change the version number from 10.10 to 10.90 using terminal (especially if you are having permission issues to save your edits like I did). Open terminal and type
sudo nano -w /System/Library/CoreServices/SystemVersion.plist
enter your password and then you may edit the file and save it. You will need to revert it when you want to use disk utility.
2. Create alias to open Matlab
Taken from Behrad3d's answer, you will also need to create an alias to be able to open Matlab:
1- find Matlab application file under Applications folder 2- Right (Control) click and select "Show Package Contents" 3- Navigate to : "Contents/Mac OS" 4- Right (control) click on "startMatlab" file 5- Make an Alias 6- Copy the Alias to another folder e.g. your desktop. 7- Run the alias.
Permanent fix which works with versions R2013b and R2014a:
Change the 10.10 in /System/Library/CoreServices/SystemVersion.plist under ProductVersion to 10.90 -this will assure OSX's native apps won't crash.
Next step is to change 'Bundle version' of Matlab from 8.X.X to 9.X.X (basically change only first number to '9', leave the rest unchanged). To do so, edit Matlabs Info.plist: /Applictions/Matlab_XXXX/Contents/Info.plist (to access it, you have to right click on Matlab app in Applications and select 'Show Package Contents' as mentioned in the previous posts.
I tested it personally on R2013b and R2014a. It works. Nothing crashes. You might try to apply the same logic to earlier versions of Matlab.