License Manager Error -9 may be caused by various reasons:
- The username or Host ID in the license file does not match
- (Designated Computer Only) MATLAB is already running under a different user account
The username in the license file does not match
This error occurs when the OS username of the user launching MATLAB does not match the username that was used during activation. This most often occurs when an administrator activates MATLAB for a user.
To determine your OS username:
- Windows: Open a command prompt and enter "set username"
- Mac and Linux: Open a terminal window and type "whoami"
Note: Usernames are case sensitive and may not be recognized if they contain spaces.
The Host ID in the license file does not match
To resolve this, verify the Host ID (MAC address) of the machine, then reactivate MATLAB. If your machine has a variable Host ID, configure your system to have a static Host ID, and then reactivate MATLAB.
MATLAB is already running under a different user account
With Designated Computer licenses, MATLAB can only be running by one user account on the machine at a time. If there is already a MATLAB process running under a different user, MATLAB issues License Manager Error -9.
To resolve this, end the MATLAB process on the other user account. This can be done by restarting the computer.