Matlab 2017b在Linux(ubuntu)安装步骤,如下:
--1--加载镜像
新建挂载目录:
mkdir /home/relaybotbox/matlabtemp
sudo mount -t auto -o loop /media/relaybotbox/1412553B125522D2/Matlab_Linux_64bit/R2017b_glnxa64_patch/R2017b_glnxa64.iso /home/relaybotbox/matlabtemp/
加载镜像到该目录:
cd /home/relaybotbox/matlabtemp/
sudo ./install
--2--安装过程
耐心等待进度条100%
--3--注册补丁
sudo cp license_standalone.lic /usr/local/MATLAB/R2017b/licenses/
sudo cp libmwservices.so /usr/local/MATLAB/R2017b/bin/glnxa64/
1) standalone:
- Install choosing the option "Use a File Installation Key" and supply the following FIK
09806-07443-53955-64350-21751-41297
- To install Matlab Production Server,using this
40236-45817-26714-51426-39281
- Use license_standalone.lic to activate,
or make a "licenses" folder in %installdir% and copy license_standalone.lic to it,and run matlab without activation
- after the installation finishes copy the folders to %installdir% to overwriting the originally installed files
2) floating license (network license server):
- Install choosing the option "Use a File Installation Key" and supply the following FIK
31095-30030-55416-47440-21946-54205
- To install Matlab Production Server,using this
57726-51709-20682-42954-31195
- Use license_server.lic when asked
- after the installation finishes copy the folders to %installdir% to overwriting the originally installed files
--4--旧版本删除
sudo rm -rf /usr/local/MATLAB/R2015b
sudo rm /usr/local/bin/matlab /usr/local/bin/mcc /usr/local/bin/mex /usr/local/bin/mbuild
--5--链接
sudo update-alternatives --install /usr/bin/matlab matlab /usr/local/MATLAB/R2017b/bin/matlab 500
在 -预设项- 中修改文档位置 选择 -安装在本地- 。
~End~
本文同步分享在 博客“zhangrelay”(CSDN)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。