1. 程式人生 > >Mac 安裝 Matlab error -8

Mac 安裝 Matlab error -8

按照操作步驟,安裝啟用,但是開啟時卻報錯

看字面意思說是hostID不符合,但是安裝包的安裝教程也沒說要改,因此覺得並非此問題。

後來折騰了幾分鐘,發現安裝說明中說要替換某個檔案,但我保留了舊檔案,因此報錯(後面闡述。。。)

解決辦法:徹底刪除舊檔案

安裝說明如下:

1. Standalone mode:

- Use the following FIK (File Installation Key) to install MATLAB:

09806-07443-53955-64350-21751-41297

- To install Matlab Production Server, use this FIK:

40236-45817-26714-51426-39281

- Copy the libmwlmgrimpl.dylib file to "/Applications/MATLAB_R2018a.app/bin/maci64/matlab_startup_plugins/lmgrimpl/" , confirm replacement

- Activate offline using provided license_standalone.lic file or copy the license file to "/Applications/MATLAB_R2018a.app/licenses/" and run MATLAB

2. Floating license (network license server):

- Use the following FIK (File Installation Key) to install MATLAB:

31095-30030-55416-47440-21946-54205

- To install Matlab Production Server, use this FIK:

57726-51709-20682-42954-31195

- Copy the libmwlmgrimpl.dylib file to "/Applications/MATLAB_R2018a.app/bin/maci64/matlab_startup_plugins/lmgrimpl/" , confirm replacement

- Use license_server.lic to activate

我的錯誤做法:我將/Applications/MATLAB_R2018a.app/bin/maci64/matlab_startup_plugins/lmgrimpl/資料夾下原本的 libmwlmgrimpl.dylib重新命名成 libmwlmgrimpl_old.dylib(因為習慣), 再將安裝包的 libmwlmgrimpl.dylib複製過去。

記得刪掉原來的 libmwlmgrimpl.dylib哦!