MATLAB: Do I receive License Manager Error -16

MATLAB

When starting the network license manager or starting MATLAB I receive the following error:
Cannot read data from license server. License Manager Error -16.

Best Answer

This error will occur if the path to mlm in your license file is incorrect. To resolve this error, open the license.dat file with a plain text editor and correct the path to mlm.
Where $MATLAB is the MATLAB installation directory, the license.dat file on the server machine is located in:
$MATLAB/etc
The DAEMON line specifies the daemon type and the path to the daemon. For MATLAB, this is:
DAEMON MLM <path to vendor daemon>
The location of the daemon depends on your operating system.
Windows
The daemon will normally be located here:
$MATLAB\etc\win64\mlm.exe
Linux
The daemon will normally be located here:
$MATLAB/etc/glnxa64/mlm
Mac
$MATLAB/etc/maci64/mlm
Prior to R2011a, MLM was named lm_matlab on Linux and Mac.
Once you have made the changes to the license file, you must stop and start the network license manager. (Do not reread the license file: reread is not supported by the MATLAB vendor daemon.) For more information on stopping and starting the license manager, please see How do I start or stop the MathWorks Network License Manager?