10

I've just installed the OS X Yosemite beta and can't open MATLab 2014a.

It displays this error dialog:

enter image description here

Does anyone have any ideas as to how this could be resolved?

Jason Aller
  • 2,360

6 Answers6

13

**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:

  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
  5. Make an Alias
  6. Copy the Alias to another folder e.g. your desktop.
  7. Run the alias.

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

Behrad3d
  • 231
3

Definitive solution. It runs fine without system hacks or desktop aliases.

Download the patch here: http://files.mc128k.info/data/public/92d26d.php

2

A fix that allows you to launch and run both MatLab and the Mac OS 10.10 Yosemite standard apps all at once is to set the ProductVersion to 10.90 instead of 10.9 or 10.10.

SMotaal
  • 29
1

Temporary solution:

change the 10.10 in /System/Library/CoreServices/SystemVersion.plist under ProductVersion to 10.9 or lower can solve you the problem.

However, it forbids Safari, Mail from booting. Thus you can only choose one to use a time, and change the ProductVersion back and forth.

Naiqi
  • 42
0

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.

xyz
  • 151
0

Permanent fix which works with versions R2013b and R2014a:

  1. 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.

  2. 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.

gronostaj
  • 58,482