为什么我遇到了"MathWorks Licensing Error 39"的错误?
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 5 Feb. 2014
Bearbeitet: MathWorks Support Team
am 15 Mai 2025
为什么我遇到了下面的错误:
MathWorks Licensing Error 39A Licensing error occurred while trying to use <PRODUCTNAME>.Your system administrator has not authorized you to use this feature. Contact your system administrator to grant you access to this feature using the options file.
Akzeptierte Antwort
MathWorks Support Team
am 15 Mai 2025
Bearbeitet: MathWorks Support Team
am 15 Mai 2025
MathWorks Licensing Error 39 指的是,您登录计算机的用户未获得MATLAB license的授权。这一错误多数情况是由于您的选项文件(mlm.opt)中INCLUDE行设置的用户名(username)不正确造成的,该文件在license服务器上一般位于以下文件夹中:
Windows
---------
$MATLAB\etc\win{32|64} ($MATLAB\flexlm for releases prior to 2010b)
Linux/Unix/Mac
------------------
$MATLAB/etc/glnx{86|a64} ($MATLAB/etc for releases prior to 2010b)
(其中$MATLAB指的是MATLAB的安装路径)
这一选项文件应该包含关键词“INCLUDE”,然后是产品名和用户名,这些用户名是大小写敏感的。
修改了选项文件必须重启license manager,关于重启license manager的说明,请参考下方解决方案。
https://www.mathworks.com/matlabcentral/answers/102968-how-do-i-start-or-stop-the-network-license-manager
例如,您有如下license文件:
# MATLAB license passcode file for use with FLEXlm 6.1g# LicenseNo: 220668 HostID: INTERNET=144.23.234.12INCREMENT TMW_ARCHIVE MLM 16 01-jan-0000 0 FD8D812W5DX0AC1360FG \ VENDOR_STRING=800000000010003 HOSTID=DEMO SN=220668INCREMENT MATLAB MLM 16 01-jan-0000 1 4C4CD07W1607F7EXGQ1B \ USER_BASED DUP_GROUP=U SN=220668INCREMENT SIMULINK MLM 16 01-jan-0000 1 4DDU31EWA2963R8F5846 \ USER_BASED DUP_GROUP=U SN=220668INCREMENT Curve_Fitting_Toolbox MLM 16 01-jan-0000 1 \
3C6CQ0FBSA315W51FC7D USER_BASED DUP_GROUP=U SN=220668
那么,您的选项文件应该有以下类似内容:
INCLUDE MATLAB USER janeINCLUDE SIMULINK USER janeINCLUDE Curve_Fitting_Toolbox USER jane
其中"jane"是用户名。
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!