The location of your license file(s) depends on your license type and operating system.
The license location can also be stored in an environment variable. This is common for network licenses. For more information, please see the following support article:
Windows: Designated Computer, Concurrent, and Network Named User licenses
License files are stored in the "licenses" folder within the MATLAB installation folder.
If MATLAB is installed in the default location, license files are stored here:
C:\Program Files\MATLAB\R20XXx\licenses
(NOTE: Replace "R20XXx" with release number, e.g. R2015b.)
Windows: Individual licenses
License files are stored here:
(NOTE: Replace "R20XXx" with release number, e.g. R2015b.)
The %AppData% folder is hidden by default.
To get there, open the Start Menu, enter %AppData% in the search box, and press enter.
It can also be located at:
macOS: Designated Computer, Concurrent, and Network Named User licenses
License files are stored inside the MATLAB application package.
Right click, CTRL-click, or two-finger click on the MATLAB icon in your Applications folder and select "Show Package Contents."
In the folder that opens up, open the "licenses" folder to see your license files.
macOS: Individual licenses
License files are stored in the Application Support directory. Click on the Finder icon in your dock (the blue face) and go to the "Go" menu in the menu bar. Select "Go to Folder " and enter this:
/Users/$USER/Library/Application Support/MathWorks/MATLAB/
where $USER is the username you use to login to your computer. In the folder that opens up, your license files are stored in the "R20XXx_licenses" folder, where R20XXx is the release of MATLAB you are using, e.g. R2017a.
If you are using a MATLAB version older then R2016b, your license files are located in a different directory. Instead, navigate to:
and then enter the appropriate R20XXx_licenses folder.
Linux: Designated Computer, Concurrent, and Network Named User licenses
The license files are stored in the MATLAB installation directory:
If MATLAB is installed in the default location, license files are stored here:
/usr/local/MATLAB/R20XXx/licenses
(NOTE: Replace "R20XXx" with release number, e.g. R2015b.)
Linux: Individual licenses
License files are stored in the ".matlab" folder within your home folder:
In the .matlab folder, license files are stored in separate folders for each release:
(NOTE: Replace "R20XXx" with release number, e.g. R2015b.)
5 Comments
Devavrat Mathur (view profile)
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/99147-where-are-the-license-files-for-matlab-located#comment_329663
Darsana Thulasi (view profile)
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/99147-where-are-the-license-files-for-matlab-located#comment_354148
doctor (view profile)
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/99147-where-are-the-license-files-for-matlab-located#comment_396641
Walter Roberson (view profile)
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/99147-where-are-the-license-files-for-matlab-located#comment_433593
Dhananjay Kumar (view profile)
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/99147-where-are-the-license-files-for-matlab-located#comment_753282
Sign in to comment.