How do I force the Network License Manager to distribute the keys of a concatenated license file in a particular order using the SORT tag?

조회 수: 21 (최근 30일)
I have a license file combining licenses with different versions. The older version is specified first in the license.dat file. However, if I start an older version session of MATLAB, it takes a newer version of MATLAB key. I would like to know how I can force a particular key to be used first.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2025년 10월 30일 0:00
편집: MathWorks Support Team 2025년 10월 30일 18:48
To configure a specific order in which the INCREMENT lines are read by the Network License Manager, you can use SORT command in the license.dat file.
To use this command, append the command 'sort=xxx' at the end of each product INCREMENT line.
Lines with lower sort vales will be used first.
The default value for SORT, if no SORT line is appended, is 100.
In the example below, the license server will attempt to serve the MATLAB R2014a (MLM 31) keys first, before serving the R2015b (MLM 34) keys, which are using the default sort value, which is 100.
INCREMENT MATLAB MLM 34 01-dec-2026 150 3A49ADFD5761 \
VENDOR_STRING=vi=0:at=200:ae=1:lu=300:lo=CN:ei=7654321:lr=1: \
DUP_GROUP=UH asset_info=123456 ISSUED=22-Jun-2025 BORROW=720 \
NOTICE=product=MATLAB SN=123456 SIGN="1092 6AD1 7706 9C3E CC12 \
EF3B 1A65 8F00 3497 7661 150A 5CB7 0B99 9FEF AEFF"
INCREMENT MATLAB MLM 31 01-dec-2026 150 3A49ADFD5761 \
VENDOR_STRING=vi=0:at=200:ae=1:lu=300:lo=CN:ei=4208642:lr=1: \
DUP_GROUP=UH asset_info=112233 ISSUED=22-Jun-2025 BORROW=720 \
NOTICE=product=MATLAB SN=112233 SIGN="9902 5DF1 7706 9C3E CC12 \
EF3B 1A65 8F00 3497 7661 160A 5CB7 0799 9FEF ABFF" sort=99
The sort value can be used repeatedly. You can apply sort=99 to all of the INCREMENT lines for a license. You do not have to use a unique integer for each INCREMENT line.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2006a

Community Treasure Hunt

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

Start Hunting!

Translated by