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

当我尝试启动 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.

 Accepted Answer

MathWorks Support Team
MathWorks Support Team on 15 May 2025
Edited: MathWorks Support Team on 15 May 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

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!