Where can I find MATLAB license files?
조회 수: 4,125 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2013년 5월 16일
편집: MathWorks Support Team
2023년 7월 26일
Where can I find MATLAB license files?
채택된 답변
MathWorks Support Team
2023년 7월 26일
편집: MathWorks Support Team
2023년 7월 26일
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
Walter Roberson
2022년 8월 15일
편집: Walter Roberson
2022년 8월 15일
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.)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!