Errors while trying to code after purchase of license

2 次查看(过去 30 天)
When trying to use Matlab and the different add-ons that I recently purchased, I get an error on my command window saying, "Error using referenceSphere, License checkout failed. License Manager Error -5, Cannot find a license for MAP_Toolbox."
I just purchased everything so I'm unsure why it's giving me this error.
It also gives me the following information: "Diagnostic Information: Feature: MAP_Toolbox License path: C:\Users\Caitlin Stripling\AppData\Roaming\MathWorks\MATLAB\R2015b_licenses\license_DESKTOP-S8PKHEV_2750351_R2015b.lic;C:\Users\Caitlin Stripling\AppData\Roaming\MathWorks\MATLAB\R2015b_licenses\license_DESKTOP-S8PKHEV_353840_R2015b.lic;C:\Users\Caitlin Stripling\Desktop\Matlab\licenses\license.dat;C:\Users\Caitlin Stripling\Desktop\Matlab\licenses Licensing error: -5,357.
Error in regionmap (line 47) e = referenceSphere('earth','meters');
Error in usamap (line 128) ax = regionmap(mfilename, varargin);"
I was also given a link to this support page for troubleshooting help.

回答(1 个)

Adithya Addanki
Adithya Addanki 2016-1-15
HI Caitlin,
There are multiple reasons why you might be receiving this error:
1. If you only have a network.lic file, instead of a license.lic file, you are using a network license. In this case contact your license administrator to check the license.dat file on the License Manager server machine.
2. If you are licensed for this product, this error may be the result of formatting problems in your license file. In order to avoid this, ensure that the following strings all begin on a left justified line: #, SERVER, DAEMON, or INCREMENT. Sometimes an INCREMENT line can get wrapped on the end of the preceding INCREMENT line causing it to be omitted.
You can also simply re-activate MATLAB on your machine. That will automatically update the license file on your machine.
Thank you,
Adithya

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by