按照操作步骤,安装激活,但是打开时却报错
看字面意思说是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哦!