For Individual licenses, the MathWorks Installer and Activation Client will attempt to place the license file into the directory of the user specified. If the user specified is not the user attempting to launch MATLAB, then MATLAB will not be able to locate the license file. This is most commonly seen when administrator credentials are used to install or activate due to to limited user permissions, and as a result, the license file is stored under the administrator account.To resolve this, verify the usernameInsufficient user privileges
When activating MATLAB, you must have sufficient user privileges to create the required licenses folder and create the license file. To verify that the license file is being created, browse to the location where the license files are stored for your license option and operating system type:Where are the license files for MATLAB located?
If you do not see a license file, or the licenses folder, you may not have sufficient privileges. You may resolve this by activating the license manually then placing the license file into the appropriate directory found in the link above:How do I activate MATLAB without an internet connection?
Note: You may be required to create the licenses folder for R2020a and newer. If so, verify that the name matches the path found in the article above. For example, Individual licenses will be located in the folder R20XXx_licenses, with the XXx changed to match the release.Wrong file type
License files must be a LIC file. LIC files have a .lic extenstion, e.g. license.lic or network.lic. If the license file has any other extension, such as .txt, MATLAB may not be able to read the license, and you will be prompted to activate.
To resolve this, change the file extension to '.lic'.
Note: The exception to this is DAT files used by network License Managers.Activating to an expired or invalid license file
If the license file is expired or invalid, MATLAB will prompt you to activate. To resolve this, download a new license file.Specials characters in the username
The Activation software will not be able to read usernames that are in another language and/or have accent marks/special characters.