Welcome 微信登录

首页 / 操作系统 / Linux / Fedora 14 安装Matlab R2011a

1.下载:请到电驴下载:《科学计算语言》(Mathworks Matlab)R2011a Win/UNIX[光盘镜像]下载工具: aMule速度:慢,教育网开机3天才能下完。2.安装:#mkdir /mnt/iso#cd ~/Downloads/iso#mount -o loop -t iso9660~/Downloads/iso/Matlab.R2011a.UNIX.ISO-TBE.iso/mnt/iso【红色部分是你存放matlab iso 文件的路径】#cd /mnt/iso#./install【到此弹出安装界面,跟在windows下面一样的】【!】在/mnt/iso/crack文件夹里面有E文的readme文档,不懂参考里面的说明来安装。3.启动顺顺利利安装完毕,且完成破解,现在开始启动。默认是安装在/usr/local 文件夹里面,且没有创建图标的,所以还要自己做些后续的工作。在panel添加一个custom application launcher,图标自选,command里选择路径:/usr/local/MATLAB/R2011a/bin/matlab4.遇到的问题##1###error while loading shared libraries: libXp.so.6:
#cannot open shared object file: No such file or directory///solution///#yum install libXp.so.6##### ##2###expr: error while loading shared libraries: libgmp.so.3: cannot enable executable stack as shared object requires: Permission denied
#/usr/local/MATLAB/R2011a/bin/util/oscheck.sh: line 138: [: -eq: unary operator expected
#/usr/local/MATLAB/R2011a/bin/glnx86/MATLAB: error while loading shared libraries: libut.so: cannot enable executable stack as shared object requires: Permission denied
///solution///SElinux 搞的鬼,关掉SElinux: setenforce 0或者或者,你想折腾的话,在不关闭SElinux情况下,采用以下的方法:
#chcon -texecmem_exec_t/usr/local/MATLAB/R2010b/bin/glnx86/MATLAB,改变consxt类型(不懂)运行这样就可以运行matlab了,但是又发现几个warning:a)cannot access `/glnx86/libpng.so": No such file or directory我 ll 一下/glnx86/libpng.so 发现是一条断链,要重新链接起来:#ln -s -f libpng12.so.0.39.0 libpng.so【记得加-f 参数】b)expr: error while loading shared libraries:libgmp.so.3: cannot enable executable stack as shared object requires: Permission denied又是动态链接库的问题!还好Fedora 论坛高手云集,找到了解决方法:
/usr/bin/execstack -c /usr/local/MATLAB/R2011b/bin/glnx86/libgmp.so.3
/usr/bin/execstack -c /usr/local/MATLAB/R2011b/bin/glnx86/libgmp.so.3.4.1#####重装Fedora 14之数据备份问题Windows 7下硬盘安装Fedora 14相关资讯      Matlab  Fedora教程  Fedora 14 
  • Linux下安装Matlab Compiler   (08月14日)
  • 利用Sublime Text 2 来运行Matlab  (07月31日)
  • Matlab中用fit做曲线拟合  (06月12日)
  • 配置Sublime Text作为Matlab的编辑  (07月31日)
  • Ubuntu 16.04下安装Matlab  (07月31日)
  • C/C++程序通过动态链接库调用  (06月11日)
本文评论 查看全部评论 (1)
表情: 姓名: 字数


评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致