Which License am I using for each toolbox
조회 수: 12(최근 30일)
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.
Fangjun Jiang 2018년 10월 11일
편집: Fangjun Jiang 2018년 10월 11일
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.
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"