How can I test the license for a toolbox in MATLAB?
29 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 25 Jan. 2012
Bearbeitet: MathWorks Support Team
am 19 Aug. 2022
I am trying to determine whether or not the licensing is working for a particular toolbox. If I cannot check out the license, I would like to see why I cannot check out a toolbox license in MATLAB. How can I accomplish this?
Akzeptierte Antwort
MathWorks Support Team
am 19 Aug. 2022
Bearbeitet: MathWorks Support Team
am 19 Aug. 2022
To test the license for a particular toolbox, you can use the "license checkout" command within MATLAB: https://www.mathworks.com/help/matlab/ref/license.html
To use this command, you must use the feature name of the product as it appears in the license file rather than the actual toolbox name. To find your license file, see the following article:
If you are on a network license and do not have access to the license file, you can also use the feature name as it appears in the output of "lmstat". To learn more about using "lmstat", see the following article:
For example, if you would like to test the license for Control System Toolbox, you would type the following in MATLAB:
>> license checkout Control_Toolbox
If this command returns the following output, the licensing is working properly:
ans =
1
If the toolbox cannot get a license, you will get both a network license manager error number as well as a brief explanation as to why this toolbox license cannot be checked out. See the related solutions below for some common license manager errors.
Note that this command will only show a single license manager error. Sometimes, especially with network licenses, there are multiple license manager errors occurring. MATLAB will only print the last license manager error received. If this is a network license, more information can be found in the license manager log file.
If you need further assistance, contact Installation and Licensing technical support: https://www.mathworks.com/support/contact_us.html
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Manage Products finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!