Where can I find MATLAB license files?
4.091 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 16 Mag 2013
Modificato: MathWorks Support Team
il 26 Lug 2023
Where can I find MATLAB license files?
Risposta accettata
MathWorks Support Team
il 26 Lug 2023
Modificato: MathWorks Support Team
il 26 Lug 2023
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
License files are stored here:
%AppData%\MathWorks\MATLAB\R20XXx_licenses
(NOTE: Replace "R20XXx" with release number, e.g. R2023a.)
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:
C:\Users\%USERNAME%\AppData\Roaming\MathWorks\MATLAB\R20XXx_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. R2023a.)
MacOS
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. R2023a.
For R2016b and older, the license files are located in a different directory. Instead, navigate to:
~/.matlab
and then enter the appropriate R20XXx_licenses folder.
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.
Linux
License files are stored in the ".matlab" folder within your home folder:
~/.matlab
In the .matlab folder, license files are stored in separate folders for each release:
R20XXx_licenses
(NOTE: Replace "R20XXx" with release number, e.g. R2023a.)
The license files are stored in the MATLAB installation directory, where $MATLABROOT represents your MATLAB installation folder, such as "C:\Program Files\MATLAB\R2023a".
$MATLABROOT/licenses
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. R2023a.)
2 Commenti
Walter Roberson
il 3 Dic 2016
Modificato: MathWorks Support Team
il 20 Mag 2023
Walter Roberson
il 15 Ago 2022
Modificato: Walter Roberson
il 15 Ago 2022
Note: on MacOS, pre-release licenses are stored in fullfile(matlabroot, 'licenses') -- same place that network licenses would go. Individual licenses for MacOS go in ~/Library/Application Support/MathWorks/MATLAB these days (they used to go in the other location a few years ago.)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Manage Products in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!