centos 7 安裝matlab 2017b

weixin_33912246發表於2018-05-02
  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,缺少什麼安裝什麼

相關文章