我无法在OS X Yosemite 10.10公共Beta上安装Matlab 2014a [英] I cannot install Matlab 2014a on OS X Yosemite 10.10 public beta
问题描述
当我在OS X Yosemite 10.10公共beta版上安装Matlab 2014a时,它会显示Matlab徽标,然后显示:安装MATLAB意外退出."
When I install Matlab 2014a on OS X Yosemite 10.10 public beta, it shows Matlab logo and then it says: "Install MATLAB quit unexpectedly."
1.我在尝试安装Matlab之前先安装了JDK/JRE,但仍然无法正常工作.
1.I install JDK/JRE before I try to install Matlab, but it still not works.
2.根据此视频 https:/,我将SystemVersion.plist中的ProductVersion更改为10.90或10.9./www.youtube.com/watch?v=GoQnzIyOkB0 ,然后再安装Matlab,但仍然无法正常工作.
2.I changed ProductVersion in SystemVersion.plist to 10.90 or 10.9 according to this video https://www.youtube.com/watch?v=GoQnzIyOkB0 before I install Matlab, but it also still not works.
我该怎么办?谢谢!
推荐答案
对于10.10 beta 5& Matlab R2014a.
For those having the same problem with 10.10 beta 5 & Matlab R2014a.
您可以使用以下bash脚本解决问题:
You can fix the problem with the following bash script:
#!/bin/sh
# Fool the system into believing you are using Mavericks by replacing
# the version 10.10 to 10.90, you obviously need sudo to do this.
sudo vim -c "%s/10.10/10.90/ge" -c 'w!' -c 'q' "/System/Library/CoreServices/SystemVersion.plist"
# Launch Matlab via the executable
/Applications/MATLAB_R2014a.app/bin/matlab
# Revert the version change in the SystemVersion.plist file
sudo vim -c "%s/10.90/10.10/ge" -c 'w!' -c 'q' "/System/Library/CoreServices/SystemVersion.plist"
然后所有要做的就是将此脚本放在PATH中的某个位置,然后从命令行调用它以在10.10中使用Matlab:)
Then all there is to do put this script in the PATH somewhere and call it from the command line to use Matlab in 10.10 :)
这篇关于我无法在OS X Yosemite 10.10公共Beta上安装Matlab 2014a的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!