Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

When will MATLAB be updated for OS X Yosemite?

조회 수: 2 (최근 30일)
Parth Patel
Parth Patel 2014년 10월 16일
댓글: Mohammad reza nilchiyan 2014년 10월 27일
When OS X Yosemite launches in the upcoming days (perhaps even today), will it be safe to update to OS X Yosemite from Mavericks? I ran the Yosemite Beta and MATLAB wasn't working so I had to downgrade back to Mavericks and MATLAB worked perfectly. I am aware of the workarounds for Yosemite, but will those work for the official release of Yosemite?
  댓글 수: 8
Leo
Leo 2014년 10월 22일
What Austin said below worked for me(2012a student) --reinstall XQuartz
-Re-installing XQuartz. I'm tempted to say this is the main reason why older versions of MATLAB are running into the issue as, after trying to open MATLAB in terminal, my computer indicated that the X11 files were missing after the update to Yosemite."
Mohammad reza nilchiyan
Mohammad reza nilchiyan 2014년 10월 27일
Hi there, I installed new version of Os X Yosemite, but my Matlab 2012a doesn't work .could you please let me know how can I turn this version of Os X to my previous version? thanks

답변 (7개)

Bhanu
Bhanu 2014년 10월 17일
I was having the problem with MATLAB R2010a (already installed on my system) crashing when attempting to launch on 10.10 public release as well, but I just got it working without any need for Mathworks' patch or any strange modifications to system files! Maybe this will work with other versions too. Here's how:
1. Install latest release of X11/XQuartz (2.7.7). For some reason my X11 hadn't autoupdated.
2. Install legacy Java version 6 from Apple
3. Create symlink to /opt/X11 folder in /usr/
Instructions: open terminal, execute command exactly as follows (type password when asked): sudo ln -s /opt/X11/ /usr/X11
Now launch MATLAB and it should work. I noticed when launching MATLAB from /Applications/MATLAB_R2010aSV.app/bin/matlab -maci in terminal that it gave an error about not loading /usr/X11/lib/libXext.6.dylib; we can see that it is looking for a folder /usr/X11, but this is not present. Hence we create the symlink and everything works!
  댓글 수: 10
Spase
Spase 2014년 10월 21일
and also now I can't open the Mail, and reading from other forums it seems like it is related to this fix... :/
Javier
Javier 2014년 10월 21일
Hi Spase, I didn't realize of java exception when running help. However, see the Tom comment below. By copying the provided patch in the /Applications/MATLAB_R2010b/java folder I can now run the help like a charm :).
Regarding the Mail error. Did you modify the ProductVersion or ProductUserVisibleVersion keys in the /System/Library/CoreServices/SystemVersion.plist file? I have read several solutions that involve modifying those keys. If so, try to revert the changes. Mines look like this:
<key>ProductUserVisibleVersion</key>
<string>10.10</string>
<key>ProductVersion</key>
<string>10.10</string>
Good luck again!

Ken Atwell
Ken Atwell 2014년 10월 17일
MATLAB supports Yosemite as-of R2014b. Older release may also work, but this is not something MathWorks has rigorously tested. There were troubles in several the beta builds of Yosemite, but the final release of Yosemite has been reported to work well with MATLAB.
  댓글 수: 10
Image Analyst
Image Analyst 2014년 10월 21일
Yavuz: most likely there will be none. Historically, only the "a" versions, released annually in March, have had student versions.
Ken Atwell
Ken Atwell 2014년 10월 21일
With that MathWorks patch at http://www.mathworks.com/support/bugreports/1098655, you should be able to use MATLAB releases as far back at R2012a on Yosemite. Be sure to download the patch that matches your release of MATLAB.

Marco
Marco 2014년 10월 20일
Is this really a MATLAB issue, or more a Yosemite issue which then should better be adressed directly to Apple? I heard that other software packages (i.e. professional music software) also have severe trouble with it (not running anymore).
  댓글 수: 1
Ken Atwell
Ken Atwell 2014년 10월 21일
Marco, yes and no. There are two issues at play:
  • Initial releases of Yosemite blacklisted some releases of MATLAB. This was corrected in an update released as Yosemite went gold. We hope most users get this update within hours of installing Yosemite (so this problem should age out in the days/weeks to some). See https://www.mathworks.com/support/bugreports/1116607 for details.
  • Once you are past the blacklisting, all MATLAB release except R4014b will need a patch or MATLAB may abort suddenly, on start-up in many situations. This problem is detailed at http://www.mathworks.com/support/bugreports/1098655

Tom
Tom 2014년 10월 20일
Here is a patch I made from Mathwork's official patch. It works on versions prior to R2013b (unlike the official patch) without modifying the SystemVersion.plist. I've confirmed R2013a and R2012b but I assume others will work as well.
To install:
  1. Extract patch.zip
  2. Right click on MATLAB_R20XX.app in your Applications directory and click "Show Package Contents"
  3. Place the extracted folder (named "patch") into the MATLAB_R20XX.app/java folder (alongside the existing jar and jarext folders)
You may still need to run Matlab by double clicking MATLAB_R20XX.app/Contents/MacOS/StartMATLAB. To avoid this you can temporarily change your SystemVersion.plist (as described in other posts here), launch Matlab, change the SystemVersion.plist back, and now Matlab will work by double clicking the .app.
  댓글 수: 1
Javier
Javier 2014년 10월 21일
Thank you Tom. I was able to run matlab with other solutions, however, the matlab help was throwing me a java exception. With your solution I can run the help without any problem.

Hongbo Miao
Hongbo Miao 2014년 10월 17일
  댓글 수: 2
William
William 2014년 10월 17일
Mine is 2012a and the patch doesn't work. Any suggestion ?
Bob
Bob 2014년 10월 18일
i got the same problem with 2012a!

Balaji
Balaji 2014년 10월 20일
MathWorks has released patches/workarounds for the two main issues
1) "You can't use this version of the application" error. https://www.mathworks.com/support/bugreports/1116607
If you have the latest 10.39 or later update from Apple,this issue should not occur. But in the case that it does,you can use either of the two workarounds mentioned in the above link.
2)Java crash upon MATLAB. https://www.mathworks.com/support/bugreports/1098655
This patch addresses the Java issue.
Accept/comment on this answer if it works so that other users can benefit from it.
  댓글 수: 2
Philip
Philip 2014년 10월 20일
Java patch doesn't fix R2013a_Student...maybe others, I don't know.
Ken Atwell
Ken Atwell 2014년 10월 20일
Correct, the patch for the Java crash works with R2014a and R2013b only.

Austin
Austin 2014년 10월 20일
I was running the student version of R2012a before updating to Yosemite and was greeted with the "You can't run this application on this version of OSX" after the update. Fortunately, after trying a few things I was able to get MATLAB up and running again. This is what I did that I believed fixed my copy:
-Re-installing XQuartz. I'm tempted to say this is the main reason why older versions of MATLAB are running into the issue as, after trying to open MATLAB in terminal, my computer indicated that the X11 files were missing after the update to Yosemite.
-Installing the most recent version of Java on my computer. I'm not 100% sure this is mandatory for the fix, but I did update Java after the update and a lot of people are noting that this was necessary for a fix.
I can't say I've tested this fix enough to know for certain that this solution will work in all instances, but my version is working fine now after doing the above. Best of luck!

Community Treasure Hunt

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

Start Hunting!

Translated by