为什么我遇到了MathWorks Licensing Error 13?
22 views (last 30 days)
Show older comments
MathWorks Support Team
on 2 Mar 2021
Edited: MathWorks Support Team
on 24 Jun 2025
当我启动MATLAB时,我遇到以下错误:
MathWorks Licensing Error 13
A licensing error occurred while trying to use <PRODUCTNAME>.
The license file you are using is missing the required SERVER and USE_SERVER lines.
Contact your system administrator to get the correct license file and reactivate your license on this machine.
Accepted Answer
MathWorks Support Team
on 24 Jun 2025
Edited: MathWorks Support Team
on 24 Jun 2025
"MathWorks Licensing Error 13" 意味着许可证文件中没有SERVER行和/或DAEMON行。
安装MATLAB License manager时,SERVER行和DAEMON行会被自动添加到license.dat文件中,并显示在许可证文件的INCREMENT行之前。
注意:如果您是在为2013b之前版本的polyspace安装License manager,则必须手动添加这些行。
请参考以下示例来了解如何手动添加SERVER行和DAEMON行:
Linux & Mac OS X
SERVER {hostname} {HostID} 27000DAEMON MLM {$MATLAB}/etc/MLM(注意:对于R2011a之前的版本, Linux/Mac 上的DAEMON 行应为 "DAEMON MLM {$MATLAB}/etc/lm_matlab")
Windows:
SERVER {hostname} {HostID} 27000DAEMON MLM {$MATLAB}\etc\win<32|64>\mlm.exe
{hostname}是许可证服务器的 hostname{HostID}是许可证服务器的主机 ID{$MATLAB}是许可证服务器上MATLAB 的安装目录
客户端上的许可证文件因操作系统和版本而异。从R2008a开始,许可证文件为位于$MATLAB\licenses 的network.lic文件 ($MATLAB 为 MATLAB 的安装目录). R2008a之前,许可证通常位于以下位置:
Windows$MATLAB\bin\win32\license.dat (32-bit MATLAB)$MATLAB\bin\win64\license.dat (64-bit MATLAB)
Linux/Unix/Mac$MATLAB/etc/license.dat
注意:对许可证文件进行更改后,请务必重新启动许可证管理器,以使这些更改生效。有关如何重新启动许可证管理器的详细信息,请参阅下面的链接。How do I start or stop the Network License Manager?https://www.mathworks.com/matlabcentral/answers/102968
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!