美文网首页
centos 7 安装matlab 2017b

centos 7 安装matlab 2017b

作者: Persistently | 来源:发表于2018-05-02 01:12 被阅读0次
    1. 挂载matlab镜像

       sudo mkdir /mnt/matlab
       sudo mount -o loop /home/data/package/R2017b_glxna64.iso /mnt/matlab
       cd /mnt/matlab
      
    2. 安装 MATLAB

       sudo ./install -fileInstallationKey 09806-07443-53955-64350-21751-41297 -agreeToLicense yes -mode silent -activationPropertiesFile /home/data/package/matlab/Crack/license_standalone.lic
      

      安装秘钥在破解文件的readme文件中, license根据自己存放的路径

    3. 将破解文件拷贝到目录下

         cp xx/Crack  /usr/local/MATLAB/R2017b/
         sudo cp /usr/local/MATLAB/R2017b/Crack/libmwservices.so /usr/local/MATLAB/R2017b/bin/glnxa64/
      

    4.添加acivate.ini

      cd  /usr/local/MATLAB/R2017b
      vi activate.ini
      isSilent=true
      activateCommand=activateOffline
      licenseFile=/usr/local/MATLAB/R2017b/Crack/license_standalone.lic (因为之前把Crack文件拷到了安装目录下了)
    
    1. 激活MATLAB
    /usr/local/MATLAB/R2017b/bin/activate_matlab.sh -propertiesFile /usr/local/MATLAB/R2017b/activate.ini
    
    1. 添加全局变量

        vi /etc/profile 
        export PATH=/usr/local/MATLAB/R2017b/bin:$PATH
      
    2. 启动MATLAB

        输入matlab,即可启动
      

    但是报错了,libXext.so.6: cannot open shared object file:yum install libXext,缺少什么安装什么

    相关文章

      网友评论

          本文标题:centos 7 安装matlab 2017b

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