license
Get license status, test existence of license, or check out feature license
Syntax
Description
Use the license function to return the license number in use, list the licenses checked out in the current session, determine if a particular feature on the license is checked out, and check out a specific feature 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®. 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 listing the features checked out in the current
session.S
= license('inuse')
Examples
Input Arguments
Output Arguments
Tips
Sign in to your MathWorks® Account for details about all licenses linked to your account, such as license type, feature use, and expiration information.
To perform license management tasks, including how to renew or deactivate a license, see Manage Your Licenses.