linux系统安装matlabR2021b

阿里云盘下载链接:
https://www.alipan.com/s/uK4P9Q64yJT

1. 挂载镜像并开始运行 install 文件

cd ~                    # 切换到home目录
sudo mkdir matlab       # 创建一个文件夹,并命名为matlab
cd matlab                #切换到matlab目录
sudo mount -t auto -o loop Matlab911R2021b_Lin64.iso        # 挂载dvd,路径为iso镜像文件的路径
./install # 开始安装

  1. Run “install” from mounted iso-file and if you see login/password/signin form (installer has access to internet)
    then in upper right corner in “Advanced Options” select setup mode “I have a File Installation Key”
    If internet access is absent then required setup mode will be auto-selected and you do not need to select in manually

  2. When you will be asked to “Enter File Installation Key” enter
    62551-02011-26857-57509-64399-54230-13279-37181-62117-65158-40352-64197-45508-24369-45954-39446-39538-16936-10698-58393-44718-32560-10501-40058-34454

  3. When you will be asked to “Select License File” select file “license.lic” from folder with Matlab911R2021b_Lin64.iso file

  4. Then select folder where you want Matlab to be installed ()
    To avoid problems you need which have all access rights for you
    If it hard for you to select anything then use “/home//Matlab/R2021b” for example

  5. When you will be asked to “Select products” select components you need
    If you all components are selected Matlab will need about 30Gb of disk space and somewhat longer startup time
    If you select only “MATLAB” then Matlab will need about 3Gb of disk space
    You better install Matlab on SSD disk for better startup time, so most likely you do not want to waste SSD-disk space for nothing

  6. After installation is done copy file “libmwlmgrimpl.so” from folder with Matlab911R2021b_Lin64.iso file
    to ALREADY EXISTING FOLDER “\bin\glnxa64\matlab_startup_plugins\lmgrimpl”
    WITH OVERWRITING OF EXISTING FILE ( - is where you have selected to install Matlab on step 4)
    If you was NOT asked about overwriting then you are doing something wrong (or Matlab was not installed successfully)!!!

  7. Work with Matlab 😃

P.S.
During update/change of already working Matlab there is no need to execute step 3
Step 6 might be necessary to repeat (if during update/change of Matlab file “libmwlmgrimpl.so” was overwritten)
If after update/change you get error during startup of Matlab then first try to redo the step 6

2.创建桌面快捷方式

sudo vim /usr/share/applications/matlab.desktop

添加如下内容:

[Desktop Entry]
Version=R2021b
Type=Application
Terminal=false
MimeType=text/x-matlab
Exec=/usr/local/MATLAB/R2021b/bin/matlab -desktop
Name=MATLAB
Icon=matlab
Categories=Development;Math;Science
Comment=Scientific computing environment
StartupNotify=true

其中版本以及Exec请根据自己的版本以及安装路径进行修改,其他保持默认即可。添加后就可以在桌面菜单搜索到了.

  • 4
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 8
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

CHH3213

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值