Linux 下安装matlab2014a
本文主要參考:http://blog.csdn.net/lanbing510/article/details/41698285
1.下載
從http://pan.baidu.com/s/1o6qKdxo#path=%252Fmatlab 下載Matlab2014的Linux版本及破解文件
2. 下載完成后將iso文件掛載到Linux
sudo mkdir /media/matlab
mount -o loop [path][filename].iso /media/matlab
cd /media/matlab
sudo ./install
進行安裝……
安裝時出現:
Error: Installation cannot proceed. You may either:
1. Set an X11 display, and restart the install process
2. Use the silent install feature by specifying the -mode silent option
等等問題,根據提示安裝時采用命令:
./install -mode silent -agreeToLicense yes -fileInstallationKey 1111-1111-1111-1111
序列號是隨便寫的,只要是這個格式就行了
3.破解
安裝完成后使用crack下的 license進行激活
將crack文件夾下的libmwservices.so copy到 /usr/local/MATLAB/R2014A/bin/glnxa64
4.問題解決
完成安裝,命令行下使用sudo matlab即可啟動使用
出現:
Error: Activation cannot proceed. You may either:
1. Set an X11 display, and restart the activation process
2. Use the silent activation feature
3. Activate using the license center
解決方法:
(1) 新建激活文件 activate.ini
isSilent=true //開啟silent模式 activateCommand=activateOffline //設置激活方式, 離線激活 licenseFile=/path/lic_standalone.dat //license文件位置 *.dat or *.lic開始以為必須是*.dat文件,后來發現lic文件也行
(2)靜默執行破解
sh /usr/local/matlab/bin/activate_matlab.sh -propertiesFile /path/activate.ini(3)為了訪問matlab時不用加路徑,添加環境變量
在 /etc/profile 中添加:
#set matlab evvironment
export PATH=$PATH:/usr/local/matlab/bin
并執行 source /etc/profile
5. 安裝和破解完成
命令行輸入matlab就可啟動了。。。。。
總結
以上是生活随笔為你收集整理的Linux 下安装matlab2014a的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 1:ImageNet Classifica
- 下一篇: Linux下matlab断点调试