为什么启动 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.

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2025년 5월 15일
편집: MathWorks Support Team 2025년 5월 15일

2 개 추천

解决 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

Xuesong Lu
Xuesong Lu 2019년 7월 12일
您好!
我想请问一下,我使用的高校给学生提供的激活秘钥激活的,在激活时,要求填“windows用户名”,我填了登录时的用户名,这个用户名不是host ID吧?然后激活完成后,打开matlab时, 也是Error -9,下面写着‘your username does not match the username in the license file’,这该怎么处理呢?
谢谢~~
xing huang
xing huang 2019년 8월 14일
我的也是,请问您是怎么解决的
zhiyu duwen
zhiyu duwen 2019년 11월 9일
那个计算机名称会自己检索,你们不用改
Zhende Gu
Zhende Gu 2020년 2월 26일
可是我这没有自动检索。。。请问怎么办

댓글을 달려면 로그인하십시오.

추가 답변 (3개)

yong lai
yong lai 2019년 9월 19일

0 개 추천

谢谢!重新激活成功了
Wenzhen Li
Wenzhen Li 2019년 10월 30일

0 개 추천

怎么做到的?

댓글 수: 2

Image Analyst
Image Analyst 2019년 10월 30일
yong lai
yong lai 2019년 11월 6일
点击那个activate重新激活输入你的计算机账户名,我是因为之前输错账户名导致无法使用的,现在可以使用了

댓글을 달려면 로그인하십시오.

树国 胡
树国 胡 2021년 3월 25일
편집: Image Analyst 2021년 3월 25일

0 개 추천

在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.

카테고리

제품

Community Treasure Hunt

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

Start Hunting!