Why do I receive License Manager Error -1?

240 views (last 30 days)
Why do I get the following error:
ERROR: License Manager Error -1.
Cannot find license file

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 13 May 2022
Edited: MathWorks Support Team on 13 May 2022
This error is either a result of a missing license.dat file, or not having read permissions to the license.dat file.
To check the license file, please refer to solution 1-63ZIR6
Where are the license files for MATLAB located?
If you're using a network installation, contact your license administrator for a new license file.
If you have a standalone license try starting MATLAB from the bin folder. 
Windows - C:\Program Files\MATLAB\R20XXx\bin\matlab.exe
Linux - /usr/local/MATLAB/R20XXx/bin//matlab
Mac - /Applications/MATLAB_R20XXx.app/bin/matlab
If MATLAB starts properly, delete the shortcut and create a new one.
How do I create a shortcut or link to MATLAB?
If you are receiving this error when entering a PLP for MATLAB R12 or R13 on Windows, this is a result of using a passcode generated from the license center. These PLPs will work as far back as R14. Any earlier passcodes will need to be requested from our Customer Service team here:
This error can also occur when you have borrowed a MATLAB seat from a network-based license and the borrowed seat has expired. To resolve this error, you must re-connect to the network license manager and check-out the MATLAB seat again. 
abdallah abdelazez
abdallah abdelazez on 15 Nov 2020
Hey, I have the same error messege, although I have 2014 version working fine, when I downloaded the 2018 version I'm getting this same error, what can I do about it?

Sign in to comment.

More Answers (1)

seif eldeen
seif eldeen on 27 Nov 2020


No tags entered yet.


Community Treasure Hunt

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

Start Hunting!