Which License am I using for each toolbox
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Scott
am 11 Okt. 2018
Bearbeitet: Scott
am 12 Okt. 2018
Is it possible to determine which license number users are utilizing for specific MATLAB toolboxes?
With the "license" command, I can see which license MATLAB is using or with "license('inuse')" I can see all the products currently checked out but not the license number from which I have borrowed each product.
Use case is that we have 3 pools of licenses available to us Floating, Network Named and some older un-maintained products on a separate license. We're trying to diagnose whether each user is getting a license from the correct pool.
2 Kommentare
Image Analyst
am 11 Okt. 2018
What do you see if you type "ver"? Just one overall license, or one for each toolbox? Of course you could call the Mathworks on Monday for help if no one here knows the answer.
Akzeptierte Antwort
Andreas Goser
am 12 Okt. 2018
ver -support
returns the usual ver-output, plus a license number at the end of each product line.
1 Kommentar
Weitere Antworten (1)
Fangjun Jiang
am 11 Okt. 2018
Bearbeitet: Fangjun Jiang
am 11 Okt. 2018
I put the following text into a .bat file and run it in Windows Command Prompt. See if you can modify it and make it work for you. The returned text shows some numbers resembling the license number.
set UserFolder=C:\Users\xxx\Documents
rem for R2014b
set MATLAB_ROOT=C:\Program Files\MATLAB\R2014b
"%MATLAB_ROOT%\etc\win64\lmutil.exe" lmstat -a -c "%MATLAB_ROOT%\licenses\network.lic" > "%UserFolder%\MATLAB_Usage.txt"
notepad "%UserFolder%\MATLAB_Usage.txt"
4 Kommentare
Fangjun Jiang
am 11 Okt. 2018
For a floating license, let's say you have 30 con-current licenses, do you know if it only has one license number, or 30 different license numbers? I thought it had only one license number.
Walter Roberson
am 11 Okt. 2018
You purchase floating licenses in multiples that have a single license number and an associated count. Each different license number can have different controls associated with it, with reservations made for individuals, or for groups of individuals, or by client host, or unreserved.
I seem to recall that within any one license number it is first-come-first-served until the count is exhausted, so if you want a particular individual to always have access to a particular toolbox, and you also want (say) another 5 random people to have access, but worry in case 6 random people sign in and then the individual would not have access, then my memory is the best way to handle that was with two licenses. But it has been close to a decade since I administered one of the groups so my memory might be wrong on that point, and the facilities might have changed.
Anyone, any one license server can most definitely serve different licenses for the same product.
Siehe auch
Kategorien
Mehr zu Manage Products finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!