Where can I find MATLAB license files?
3.366 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 16 de Mayo de 2013
Editada: MathWorks Support Team
el 26 de Jul. de 2023
Where can I find MATLAB license files?
Respuesta aceptada
MathWorks Support Team
el 26 de Jul. de 2023
Editada: MathWorks Support Team
el 26 de Jul. de 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 comentarios
Walter Roberson
el 3 de Dic. de 2016
Editada: MathWorks Support Team
el 20 de Mayo de 2023
Walter Roberson
el 15 de Ag. de 2022
Editada: Walter Roberson
el 15 de Ag. de 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.)
Más respuestas (0)
Ver también
Categorías
Más información sobre Manage Products en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!