MATLAB: Do I receive License Manager Error -13

MATLAB

When I start MATLAB I receive the following error:
ERROR: License Manager Error -13.
No SERVER lines in license file

Best Answer

"License Manager Error -13" indicates that the SERVER and/or DAEMON lines are missing from the license file. 
The SERVER and DAEMON lines are added to the "license.dat" file when the network license manager is installed.
These lines should appear just before the INCREMENT lines in your license.dat file.
NOTE: If you are installing the network license manager for PolySpace products, you will have to manually encode these lines.
To add these lines manually, see the following example SERVER and DAEMON lines.
Linux & Mac OS X
SERVER {hostname} {HostID} 27000
DAEMON MLM {$MATLAB}/etc/MLM
(NOTE: prior to R2011a, the DAEMON line on Linux/Mac was "DAEMON MLM {$MATLAB}/etc/lm_matlab")
Windows:
SERVER $Hostname $HostID 27000
DAEMON MLM "{$MATLAB}\etc\win{32|64}\mlm.exe"
$HOSTNAME is the hostname of the license server
{HostID} is the HostID of the license server {$MATLAB} is the root MATLAB directory on your license server
The license file on the client machine varies depending upon operating system and version. For R2008a and above, the license file is generally called network.lic and is located in $MATLAB\licenses (where $MATLAB is the MATLAB installation directory). For versions prior to R2008a, the license file will generally be the following:
Windows
$MATLAB\bin\win32\license.dat (for 32-bit MATLAB)
$MATLAB\bin\win64\license.dat (for 64-bit MATLAB)
Linux/Unix/Mac
$MATLAB/etc/license.dat
NOTE: Once you have made changes to your license file, be sure to restart the license manager for these changes to take effect. For more information on how to restart the license manager, see the following Related Articles: