心胸决定格局,眼界决定境界...

linux下安装matlab

mount -o loop [path][filename].iso /media/matlab
破解install.jar替换matlab2014/java/jar/install.jar;

1.拷贝破解license_405329_R2014a.lic 到制定目录 /usr/local/etc/license_405329_R2014a.lic
2.
sudo ./install -destinationFolder /usr/local/matlab2014 -fileInstallationKey 12345-67890-12345-67890 -
agreeToLicense yes -outputFile /tmp/mathworks_localhost.log -mode silent -activationPropertiesFile
/usr/local/etc/license_405329_R2014a.lic
3.从安装包中找到libmwservices.so,找到你本地安装Matlab的路径 /usr/local/matlab2014

也可以installer_input.txt为模版,安装
也可以uninstaller_input.txt为模板,卸载

./matlab -c /yourpath/matlab2012b/serial/matlab2012b_std.dat -nodisplay

 

4.最后将matlab添加到.bashrc 文件中,就可以在任意位置启动matlab:

gvim /root/.bashrc
export PATH=/usr/local/matlab2014/bin:$PATH
alias matlab2014='matlab -c /usr/local/etc/license_405329_R2014a.lic -nodisplay'
source /root/.bashrc

posted @ 2015-02-12 12:53  WELEN  阅读(333)  评论(0编辑  收藏  举报