Where can I find MATLAB license files?
4.171 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 16 Mai 2013
Bearbeitet: MathWorks Support Team
am 26 Jul. 2023
Where can I find MATLAB license files?
Akzeptierte Antwort
MathWorks Support Team
am 26 Jul. 2023
Bearbeitet: MathWorks Support Team
am 26 Jul. 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 Kommentare
Walter Roberson
am 3 Dez. 2016
Bearbeitet: MathWorks Support Team
am 20 Mai 2023
Walter Roberson
am 15 Aug. 2022
Bearbeitet: Walter Roberson
am 15 Aug. 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.)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Manage Products finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!