美文网首页
Linux Ubuntu 16.04环境下MATLAB 2016

Linux Ubuntu 16.04环境下MATLAB 2016

作者: 路paopi | 来源:发表于2017-11-01 20:36 被阅读0次

下载

在网上下载

安装步骤

  1. 挂载
mkdir /mnt/tmp
sudo mount -t auto -o loop *…._dvd1.iso /mnt/tmp
  1. 安装
cd
/mnt/tmp/install

弹出安装窗口后步骤:
1)Use a file instaltion key next
2)Yes next
3)I have the File Instaltion key from ... 09806-07443-53955-64350-21751-41297 next
4)[选择安装路径:/usr/local/MATLAB/R2016b] next
Failed to create folder (/usr/local/MATLAB/R2016b) next
-如果无法创建路径 /mnt/tmp/install
-解决方法:root下安装(sudo su)

sudo su

输入密码后

/mnt/tmp/install

5)all tools next
6)[11,721MB] install
...........等几分钟...........
7)[Eject DVD1 and insert DVD2 to continue]
新建终端窗口挂载DVD2,

sudo mount -t auto -o loop /home/lu/Downloads/matlab/R2016b_glnxa64_dvd2.iso /mnt/tmp            

继续接着DVD1的弹出的窗口安装 finish

  1. 权限
cd /usr/local/MATLAB/R2016b/bin

新建“licenses”文件并赋予其权限:

sudo mkdir licenses
cd /usr/local/MATLAB/R2016b/bin/licenses
sudo chmod 777 license_standalone.lic
cd /usr/local/MATLAB
sudo chmod -R 777 R2016b

把license_standalone.lic复制到安装目录中 [/usr/local/MATLAB/R2016b/bin/license]

cd /LinuxMATLAB/Matlab2016bLinux64Crack
sudo cp license_standalone.lic /usr/local/MATLAB/R2016b/bin/license

复制破解文件[libmwservices.so libcufft.so.7.5.18 libinstutil.so libmwlmgrimpl.so]到安装路径 [/usr/local/MATLAB/R2016b/bin/glnxa64]:

cd /home/LinuxMATLAB/Matlab 2016b Linux64 Crack/R2016b/bin/glnxa64
sudo cp libmwservices.so /usr/local/MATLAB/R2016b/bin/glnxa64
sudo cp libcufft.so.7.5.18 /usr/local/MATLAB/R2016b/bin/glnxa64
sudo cp libinstutil.so /usr/local/MATLAB/R2016b/bin/glnxa64
sudo cp libmwlmgrimpl.so /usr/local/MATLAB/R2016b/bin/glnxa64
  1. 激活
    启动MATLAB后会弹出激活窗口
cd /usr/local/MATLAB/R2016b/bin
./matlab

选择手动激活并[browse]选择破解文件中的standalone[/home/lu/Downloads/matlab/Matlab2016bLinux64Crack/license_standalone.lic]那个文件 activation complete finish
(没有权限或者报错就回到[3权限]按照步骤再来一次)

  1. 取消挂载
sudo umount /mnt/tmp    #挂载的镜像取消挂载

到此MATLAB安装完毕

启动MATLAB

  1. 输入路径启动MATLAB
cd /usr/local/MATLAB/R2016b/bin
./matlab
  1. 直接在终端输入matlab就可以打开MATLAB
sudo ln -s /usr/local/MATLAB/R2016b/bin/matlab /usr/local/bin/matlab    #设置快捷方式
matlab    #启动MATLAB

相关文章

网友评论

      本文标题:Linux Ubuntu 16.04环境下MATLAB 2016

      本文链接:https://www.haomeiwen.com/subject/fczgpxtx.html