安装方法如下,centos 6.4 x86_64
Mount -o loop /home/aaa.iso /media 挂载镜像文件
cd /media 进入media
./install 运行安装文件
进入安装程序选择 install manually without using the internet
enter the "file installation key"
55013-56979-18948-50009-49060
装好需要license file ,用 license_standalone.dat 到这软件已经装好但还有问题
一,./matlab
出现/opt/matlab/bin/glnxa64/MATLAB: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory 表示libXp.so.6没有安装,yum install libXp 即可
二,./matlab
出现/opt/matlab/bin/glnxa64/MATLAB: error while loading shared libraries: /opt/matlab/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libtbbmalloc.so.2: cannot restore segment prot after reloc: Permission denied 这是Selinux 的问题.把Selinux关掉vi /etc/sysconfig/selinux把SELINUX=enforcing 改为SELINUX=disabled重启就行了。
三,创建快捷方式
桌面右键创建启动器,图标可以选择/.../matlab/X11/icons中的图标在命令中添加/.../matlab/bin/matlab -desktop确定即可
四,中文乱码问题
复制字体如:#cp /home/sim/simhei.ttf /matlab/sys/java/jre/glnxa64/jre/lib/fonts/aaa aaa位新建文件夹进入aaa目录,#mkfontscale#vi fonts.scale 复制其中的最后一行到/matlab/sys/.../fonts 中的fonts.dir文件中,并修改行数就可以了