Get license number or perform licensing task
license
returns the license number for this MATLAB® product. The return value also can be 'demo'
for a demonstration version of MATLAB, 'student'
, for a student version of
MATLAB, or 'unknown'
, if the license number cannot be
determined.
returns an
array of structures indicating checked-out licenses and the user name of each
person who has a license checked out.S
= license('inuse')
For details about your licenses such as expiration information, log into the MathWorks License Center.