为什么我遇到了MathWorks Licensing Error 13?

조회 수: 22 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2021년 3월 2일
편집: MathWorks Support Team 대략 22시간 전
当我启动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.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2025년 12월 10일 0:00
편집: MathWorks Support Team 대략 22시간 전
"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개)

카테고리

Help CenterFile Exchange에서 管理产品에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품

Community Treasure Hunt

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

Start Hunting!