1.首先下载MATLAB_Unix,下载速度一般比较慢
2.解压.iso文件
3.修改java的权限:
cd sys/java/jre/glnxa64/jre/bin
chmod +x java
不然会报错:Command to run: /tmp/mathworks_3317/sys/java/jre/glnxa64/jre/bin/java -splash:"/home/sabyasachi/Downloads/R2012a_UNIX/java/splash.png" -Djava.ext.dirs=/tmp/mathworks_3317/sys/java/jre/glnxa64/jre/lib/ext:/tmp/mathworks_3317/java/jar:/tmp/mathworks_3317/java/jarext:/tmp/mathworks_3317/java/jarext/axis2/:/tmp/mathworks_3317/java/jarext/guice/:/tmp/mathworks_3317/java/jarext/webservices/ com/mathworks/professionalinstaller/Launcher -root "/home/sabyasachi/Downloads/R2012a_UNIX" -tmpdir "/tmp/mathworks_3317"
Installing ... /tmp/mathworks_3317/sys/java/jre/glnxa64/jre/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory Finished
4.sudo ./install,打开图形化安装界面。
5.安装完成后,终端进入安装的bin目录运行./matlab,会出现导入licence界面,选择licence文件。
6.这时候就可以运行MATLAB了。至于其他的小问题,比如中文乱码一类的,参考http://wmyming01.blog.163.com/blog/static/12964879120121120102253573/ http://www.ilovematlab.cn/thread-177616-1-1.html