Technical Solutions
Where are the license files for MATLAB located?
Date Last Modified: Tuesday, August 18, 2009
| Solution ID: |
|
1-63ZIR6 |
| Product: |
|
MATLAB |
| Reported in Release: |
|
No Release |
| Platform: |
|
All Platforms |
| Operating System: |
|
All OS |
Subject:
Where are the license files for MATLAB located?
Problem Description:
I would like to know where MATLAB stores the license files, once installed.
Solution:
The license file location for MATLAB varies based upon several factors:
- The operating system you are using - What release of MATLAB you are using - Which type of license/activation you are using (Standalone Named User, Trial, Network Concurrent, etc.)
See the information below for the license file locations:
NOTE: $MATLAB in the information below refers to the installation folder for MATLAB.
Standalone Named User ====================
By default the license file will be located in the Application Data folder on Windows or the user's home directory for all other operating systems. For example, the file for R2008a is located:
C:\Documents and Settings\<username>\Application Data\MathWorks\MATLAB\R2008a_licenses (for Windows)
/home/<username>/.matlab/R2008a_licenses (for Unix/Linux/Mac)
NOTE: Application Data may vary on Windows. To get to the actual Application Data folder, enter %APPDATA% into Windows explorer and click "Go" to get to that location.
Generally the license file located here will be named:
license_<hostname>_<license #>_<MATLAB version>.lic ex: license_my-computer_123456_R2008a.lic
Designated Computer =================
By default, the license file location is $MATLAB\licenses for all platforms. The license file naming convention will be the same: license_<hostname>_<license #>_<MATLAB version>.lic
Network Concurrent or Network Named User ====================================
On the License Server, the license file location is:
$MATLAB\flexlm (for Windows) $MATLAB/etc (for all others)
On the Client computer, the license file location is $MATLAB\licenses for all platforms. The license file name will be network.lic in this case.
Trials ======
The license file will be called {demo|trial}_<trial #>_<MATLAB version>.lic and will be placed in the $MATLAB\licenses folder as well.
R2007b and below ==============
For versions prior to R2008a, the license file is located in either:
$MATLAB\bin\{win32|win64} (For Windows) $MATLAB/etc (For all other operating systems)
In general, the default license file is license.dat for a full license and demo.lic for a trial.
|