ubuntu16 安装matlab 2017b

参考博客(https://blog.csdn.net/qq_32892383/article/details/79670871)
1.安装包下载可去上述链接找
2、在ubuntu下解压

root@MyCloudServer:/data/MATLAB R2017b Linux# apt-get update

root@MyCloudServer:/data/MATLAB R2017b Linux# apt-get install unrar
root@MyCloudServer:/data/MATLAB R2017b Linux# unrar x MATLABR2017b_Linux_Crack.rar

解压R2017b_glnxa64.zip

root@MyCloudServer:/data/MATLAB R2017b Linux# apt-get install unzip
root@MyCloudServer:/data/MATLAB R2017b Linux# unzip R2017b_glnxa64.zip
Archive:  R2017b_glnxa64.zip
warning [R2017b_glnxa64.zip]:  zipfile claims to be last disk of a multi-part archive;  attempting to process anyway, assuming all parts have been concatenated
  together in order.  Expect "errors" and warnings...true multi-part support
  doesn't exist yet (coming soon).
file #1:  bad zipfile offset (local header sig):  4

出现问题,这种错误应该是系统无法直接解压被分割的zip,可以先在Windows解压好zip直接拷过来,或者在Linux下先合并文件修复再解压,用下面的代码试试

root@MyCloudServer:/data/MATLAB R2017b Linux# cat R2017b_glnxa64.* > R2017b_glnxa64_all.zip 
root@MyCloudServer:/data/MATLAB R2017b Linux# zip -F R2017b_glnxa64_all.zip  
root@MyCloudServer:/data/MATLAB R2017b Linux# unzip R2017b_glnxa64_all.zip  

2、挂载镜像文件
先创建一个文件夹作为挂载点
。。。。
后续步骤参考上述博客链接

说明几点上述博客错误之处:
在此在安装支持包时,在提示的安装路径中,应输入:/usr/local/MATLAB/R2017b,即只需要到达/bin的上级目录即可
crack文件夹下的三个破解文件都需要用到,licience_server.lic文件也需要复制 到…/R2017b/liciences/文件夹内

安装过程中遇到的问题:
1、启动问题:
进入安装目录下的bin目录,打开terminal ,输入启动命令 ./matlab 后,一直卡在启动页面,

使用的是默认安装目录,安装在目录/usr/local/MATLAB/R201xb/bin中。那么安装完成之后系统不会给Matlab添加系统路径,只有把终端切换到安装目录/usr/local/MATLAB/R201xb/bin下才能输入命令’matlab‘启动Matlab
我进入的目录是

2、
取消挂载后,运行./matlab 时出现如下问题:

root@MyCloudServer:/data/MATLAB/R2017b/bin# ./matlab
MATLAB is selecting SOFTWARE OPENGL rendering.
License checkout failed.
License Manager Error -8
Make sure the HostID of the license file matches this machine, and that the HostID on the SERVER
line matches the HostID of the license file.

Troubleshoot this issue by visiting: 
http://www.mathworks.com/support/lme/R2017b/8

Diagnostic Information:
Feature: MATLAB 
License path: /root/.matlab/R2017b_licenses:/data/MATLAB/R2017b/licenses/license.dat:/data/MATLAB/R2017b/licenses/
license_MyCloudServer_123456_R2017b.lic:/data/MATLAB/R2017b/licenses/license_server.lic:/data/MATLAB
/R2017b/licenses/license_standalone.lic 
Licensing error: -8,523.

解决办法:
用下载目录中libmwservices.so替换matlab安装目录中bin/glnx64/里面文件

  • 4
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值