为什么我收到 MathWorks Licensing Error 4?

10 views (last 30 days)
当我尝试启动 MATLAB 或使用工具箱时,我收到以下错误:
MathWorks Licensing Error 4
A licensing error occurred while trying to use <PRODUCTNAME>.
Maximum number of simultaneous users for this product reached.
此错误是什么意思,应该如何解决?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Dec 2025
Edited: MathWorks Support Team on 10 Dec 2025
"MathWorks Licensing Error 4" 表示所有许可证当前都在使用中。
这意味着许可证服务器上某个工具箱的所有席位都已被占用.
在其他用户将许可证返还之前,您将无法获取产品的许可证。
有关当前使用的许可证的信息,请咨询许可证管理员。
许可证管理员可以按照以下方法查看许可证的使用情况:
Windows:
1) 启动 LMTOOLS,位于 $MATLAB\etc\win{32|64} (2010b之前的版本为 $MATLAB\flexlm)。如果该文件夹中没有 lmtools .exe,请参阅:
Why are necessary license manager scripts missing from the license manager installation folder?
https://www.mathworks.com/matlabcentral/answers/91356
2) 单击"SERVER STATUS"选项卡上的"Perform Status Enquiry"按钮,获取当前许可证使用情况的完整报告。
Unix/Linux/Mac:
1) 打开终端窗口。对于 Mac OS X,请使用位于应用程序/实用程序中的终端应用程序。
2) 在终端中,将路径更改为$MATLAB/etc 。例如:
linux
cd /usr/local/MATLAB_R2010b/etc
Mac Os X
cd /Applications/MATLAB_R2010b.app/etc
3) 运行以下命令以获取使用情况信息
./lmstat -a -c license.dat
以下是LMTOOLS 或 lmstat 输出结果的一个示例:
--------
Status
--------
Flexible License Manager status on Mon 9/28/2009 15:35
[Detecting lmgrd processes...]
License server status: 27000@license1
License file(s) on license1: C:\Program Files\MATLAB\R2009b\flexlm\license.dat:
license1: license server UP (MASTER) v11.6
Vendor daemon status (on license1):
MLM: UP v11.6
Feature usage info:
Users of MATLAB: (Total of 2 licenses issued; Total of 2 licenses in use)
"MATLAB" v22, vendor: MLM
nodelocked license, locked to "ID=123456"
joesmith joe-pc joe-pc (v22) (joe-pc/27000 102), start Mon 9/28 15:37
janedoe jane-pc jane-pc (v22) (jane-pc/27000 101) start Tues 9/29 08:26
在此示例中,在 Joe 或 Jane 关闭 MATLAB 以返回许可证之前,许可证将不可用。
 

More Answers (0)

Categories

Find more on 管理产品 in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!