Where can I find MATLAB license files?

4,173 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2013 年 5 月 16 日
編集済み: MathWorks Support Team 2023 年 7 月 26 日
Where can I find MATLAB license files? 

採用された回答

MathWorks Support Team
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

Individual

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

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. R2023a.)

 

MacOS

Individual

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.

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.

 

Linux

Individual

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.)

Designated Computer, Concurrent, and Network Named User licenses

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
Walter Roberson 2016 年 12 月 3 日
編集済み: MathWorks Support Team 2023 年 5 月 20 日
Walter Roberson
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 ExchangeManage Products についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2008a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by