Check the following:
1. Check whether you are using a feature which you do not have a license for.
2. Another common cause of this error is updating your license file without restarting your network license manager. If you administrate the license manager for your license, try restarting the license manager and then try to run MATLAB again. If you do not administrate the license server, contact your administrator to have the license manager restarted.
For more information on how to restart the network license manager, see the Related Solution linked below.
How do I start or stop the Network License Manager?
3. Update the license file on the client machine to contain only the following two lines (without quotes):
SERVER "hostname" "HostID" "port"
"hostname" is the hostname of the license server
"HostID" is the HostID of the license server
"port" is the port that the license manager communicates on
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:
$MATLAB\bin\win32\license.dat (for 32-bit MATLAB)
$MATLAB\bin\win64\license.dat (for 64-bit MATLAB)
3. If this error is being received on the client, have your license administrator make sure the HostID/IP Address listed in the commented section in the license.dat file matches the HostID/IP Address in the SERVER line.
Additionally, if you get this message on the client it could indicate that the product is not on the license.
4. If this error is occurring on the license manager server, then this error may be the result of having extra carriage returns in your license file. In order to avoid this, ensure that the following strings all begin on a left justified line: #, SERVER, DAEMON, or INCREMENT. Sometimes an INCREMENT line can get wrapped on the end of the preceding INCREMENT line causing it to be omitted.
5. This error could occur if a client computer is attempting to checkout a MATLAB seat from a license manager hosting only an MATLAB Parallel Server license. It could also occur for the opposite scenario, if a MATLAB Parallel Server worker is attempting to checkout a MATLAB Parallel Server seat from a server hosting a MATLAB license.
NOTE: Starting in R2019a the following name changes occurred:
- MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
- mdce_def was renamed to mjs_def
- mdce binary was renamed to mjs