Manage commuter (checkout) licenses.
license_commute
imat_progress(0,'Progress title','modal')
imat_progress(1,0.5)
imat_progress(2,'Item progress')
imat_progress(-1)
LICENSE_COMMUTE is a management interface for commuting licenses. Commuting means checking out a license from a server to the local machine, so you can take your machine off the network and still use the license.
LICENSE_COMMUTE has several calling sequences, described below.
Calling sequence | Description |
license_commute |
Display a graphical interface that allows you to manage your commuted licenses. |
data = license_commute('commlist') |
Return a structure containing information about the currently commuted licenses available on the client. DATA is the license structure. |
data = license_commute('liclist') |
Return a structure containing information about all of the licenses available on the available server(s). DATA is the license structure. This function can be used to determine which licenses are available for commuter checkout. |
license_commute('checkout',LICDATA) |
Check out a commuter license to the client machine. LICDATA is a 1x3 or 1x4 cell array containing the credentials for the license to commute. The first cell is a string containing the Feature Name. The second is a string containing the Feature Version. The 3rd is a numeric scalar containing the number of licenses (or tokens) to commute. The 4th is an optional numeric scalar specifying how many days to check out the license. 0 means the maximum period allowed by the license. |
license_commute('checkin',LICDATA) |
Check in a commuter license. LICDATA is a 1x2 cell array containing the credentials for the license to check in. The first cell is a string containing the Feature Name. The second is a string containing the Feature Version. |
-1 | -none- |
>> data = license_commute('liclist');
>> license_commute('checkout',{'ATA_TOKENS','1.0',4,0})
>> license_commute('checkin',{'ATA_TOKENS','1.0'})