The file license.lic is the standard filename used for the license file required to activate and run MathWorks products, including MATLAB. This plain text file acts as a digital key, containing encrypted information that dictates which toolboxes you are allowed to use, how many users can access the software simultaneously, and the expiration dates of your license.
- Environment Variable: Set
LM_LICENSE_FILE=27000@myserver.company.com- Licensing File (thin client): Create a file named
network.lic(orlicense.lic) containing only:Place this in your localSERVER myserver.company.com ANY 27000 USE_SERVERlicenses/folder.Feature Lines: Specific products like Simulink or the Statistics and Machine Learning Toolbox.
Managing licenses
- Start/stop license server: use lmgrd and vendor daemon controls (lmutil commands such as lmstat, lmreread, lmdown).
- Point MATLAB to a different license: set MLM_LICENSE_FILE (Windows: system environment variable or MATLAB shortcut; Unix: export MLM_LICENSE_FILE=27000@server).
- Convert node-locked to network or renew: coordinate with MathWorks licensing support or your license administrator.
Conclusion
Depending on your setup, this file serves two distinct purposes: