Get license status, test existence of product license, or check out feature license
Use the license function to return the license number in use, list the licenses checked out in the current session, list licenses checked out by user, determine if a particular product on the license is checked out, and check out a specific product on the license. To perform license management tasks, including how to renew or deactivate a license, see Manage Your Licenses.
license returns the license number for this MATLAB® product. The return value may also be a non-number, for example,
'demo' for a demonstration version of MATLAB, or 'student', for a student version of
MATLAB.
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')
Sign in to your MathWorks® Account for details about all licenses linked to your account, such as license type, product use, and expiration information.
To perform license management tasks, including how to renew or deactivate a license, see Manage Your Licenses.