License Manager Error -39 indicates that you are logged into your computer as a user who is not authorized to use the license. For Network licenses that utilize an Options File to administer the licenses, users who are not included for a licensed product are denied access.
This error is most often caused by an incorrect username on the INCLUDE line of the Options file (MLM.opt). To resolve, verify that the usernames are correct in the Options file.
The Options File is located on the license server in the directory below by default, where $MATLAB is the MATLAB installation directory.
Thank you