Why do I get the error message "Inconsistent encryption code" in the log file and/or "Invalid passcode" when starting MATLAB?
5 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2009-6-27
编辑: MathWorks Support Team
2024-8-21,13:51
I get the following error messages when starting MATLAB:
ERROR: Invalid passcode.
Check date and passcodes in <application> FEATURE line of
$MATLABROOT/etc/license.dat. Check hostid in SERVER line."
In the log file, I see the following error:
ERROR: (MLM) Invalid license key (inconsistent encryption code for <application>)
Note, "<application>" represents MATLAB or one of the Toolboxes, and "$MATLABROOT" is the path to the root MATLAB directory.
采纳的回答
MathWorks Support Team
2024-8-21,0:00
编辑:MathWorks Support Team
2024-8-21,13:51
There are mulitple reasons why you might receive this error.
1. Your license passcodes were probably generated with a HostID that is inappropriate for your configuration. The HostID of your machine should match the HostID that was used to generate the passcodes (found in license.dat). See the Installation Guides for instructions on determining the HostID of your machine. If you do not have the Installation Guides, they are available at the following URL:
https://www.mathworks.com/help/pdf_doc/install/index.html
If your license file was generated for the incorrect HostID, contact our Customer Service Department to request a new set of passcodes. Our Service department may be contacted by phone at 508-647-7000 or at:
https://www.mathworks.com/support/contact_us.html
2. There may also be a typographical error on the INCREMENT line in your license.dat. Please compare the INCREMENT line against the e-mail we sent you, which contained the passcodes. Please check for additional carriage returns, extra spaces, and additional characters on the INCREMENT lines.
3. If you have a 'USER=user' or 'ID=123456' style license, make sure your SERVER line looks like:
SERVER hostname USER=user 27000
(where 'user' is the username locked to the license.)Or,
SERVER hostname ID=123456 27000
(where '123456' is your license number.)
NOTE: If you change your license file, remember to restart the network license manager before launching MATLAB.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manage Products 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!