为什么启动 MATLAB 出现 MathWorks Licensing Error 9

172 visualizzazioni (ultimi 30 giorni)
当我尝试启动 MATLAB 时,出现以下错误:
MathWorks Licensing Error 9
A licensing error occurred while trying to use <PRODUCTNAME>.
The host ID in the license file does not match your computer's host ID.
或者
MathWorks Licensing Error 9
A licensing error occurred while trying to use <PRODUCTNAME>.
Your username is not authorized to use this license.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 15 Mag 2025
Modificato: MathWorks Support Team il 15 Mag 2025
解决 MathWorks Licensing Error 9 的最佳方法是使用激活客户端程序重新激活 MATLAB
Windows
激活程序位于:
C:\Program Files\MATLAB\R20XXx\bin\winXX\activate_matlab.exe
Mac
打开Finder
  • 转到 " Applications "
  • 右键单击或按住 Control 键并单击 MATLAB 应用程序图标(例如MATLAB_R2020b.app)
  • 单击 "显示包内容 "
  • 打开 " Activate.app"
Linux
激活程序位于:
/usr/local/MATLAB/R20XXx/bin/activate_matlab.sh
启动了MATLAB激活程序后:
  1. 选择"使用 Internet 自动激活(推荐)"
  2. 登录您的 MathWorks 帐户
  3. 选择正确的许可证
  4. 计算机用户名里应该已经自动填写了正确的用户名,请保持默认不要更改
  5. 确认激活信息
  6. 点击 "完成" 
  7. 重新启动 MATLAB
如果重启 MATLAB 仍然出现 MathWorks Licensing Error 9
  • 如果您的许可证类型是 Designated Computer,则意味着此计算机上的其他用户已运行了 MATLAB,请重启电脑即可
  • 如果您的许可证类型是 Individual,则可能是许可证文件中的计算机用户名与实际的用户名不一致,或者主机 ID 与实际的主机 ID 不一致。请参考下面的步骤来确认您的用户名和主机 ID 并重新激活:
  1.  运行上文中提到的激活客户端程序并选择"在不使用 Internet 的情况下手动激活”
  2.  选择"我没有许可证文件。帮助我执行后续步骤"
  3.  复制您的主机 ID 和计算机用户名
  4.  单击返回按钮 2 次,然后选择"使用 Internet 自动激活(推荐)",然后输入相应的用户名
  5.  使用正确的用户帐户启动 MATLAB
如果计算机不能连接 Internet , 或者仍然看到 MathWorks Licensing Error 9?请参阅:
如何在没有 Internet 连接的计算机上激活 MATLAB?
https://www.mathworks.com/matlabcentral/answers/309607
  4 Commenti
zhiyu duwen
zhiyu duwen il 9 Nov 2019
那个计算机名称会自己检索,你们不用改
Zhende Gu
Zhende Gu il 26 Feb 2020
可是我这没有自动检索。。。请问怎么办

Accedi per commentare.

Più risposte (3)

yong lai
yong lai il 19 Set 2019
谢谢!重新激活成功了

Wenzhen Li
Wenzhen Li il 30 Ott 2019
怎么做到的?
  2 Commenti
yong lai
yong lai il 6 Nov 2019
点击那个activate重新激活输入你的计算机账户名,我是因为之前输错账户名导致无法使用的,现在可以使用了

Accedi per commentare.


树国 胡
树国 胡 il 25 Mar 2021
Modificato: Image Analyst il 25 Mar 2021
在matlab的安裝目錄下找到/matlab/bin,運行./activate_matlab.sh重新進行聯網認證或者是文件激活認證,即可重新運行
Find /matlab/bin in the installation directory of matlab, and run ./activate_matlab.sh to perform network authentication or file activation authentication again, and you can re-run.

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!