How do I update the license file used by the Network License Manager?

1,344 views (last 30 days)
How do I update the license file used by the Network License Manager?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Jan 2023 at 5:00
Edited: MathWorks Support Team on 10 Jan 2023 at 20:44
These instructions explain how to update the license file used by the Network License Manager without updating the license manager software itself. If you need to also update your license manager program, please follow the link below: How do I update the Network License Manager?
Note: This procedure can only be performed by license administrators. In the license center, click the “Contact Administrators” tab when viewing the license to determine who your license administrators are.
To update the license file used by the license manager:
  1. Go to and login to your account
  2. Select the license you want to update
  3. Open the “Install and Activate” tab
  4. Click on Get the license file for the license file you wish to update
  5. Stop the license manager.
  6. Open both license files: the one already used by the license manager and the one you just downloaded. The old license file will contain SERVER and DAEMON lines at the top, but the new one will not.
  7. In the old license file, delete everything except for the SERVER and DAEMON lines at the top of the file.
  8. Copy the contents of the new license file beneath the SERVER and DAEMON lines in the old license file.
  9. Save the updated license file.
  10. If you have an options file , depending on how it is configured you may need to update it. If you do not have an options file, skip this step.
  11. Start the license manager.
You can perform a status inquiry to confirm that the license file has been updated.
Linda Xiong
Linda Xiong on 9 Jul 2019
The license file I have, has the SERVER and DAEMON lines before the "BEGIN" line in the file and is working perfectly fine. I tried using a license file without the SERVER and DAEMON line and it kept giving me errors when I did stop>start>re-read.
This is for R2019A version

Sign in to comment.

More Answers (4)

Shehab Tarek
Shehab Tarek on 18 Apr 2020
enable to install simscape toolbox matlab R2020a

antonio Carlos Caetano
antonio Carlos Caetano on 22 Jun 2020
hello, would it be possible to obtain a student license completely free of charge ?, if so, could you please send it to me?
Thank you
Antonio Carlos Caetano
Master student at UEM State University of Maringá
+55 034-98817-9133
  1 Comment
Cody Lamke
Cody Lamke on 23 Jun 2020
Edited: John Kelly on 22 Dec 2022
Many universities have access to licenses for student use; you can associate your university email address with an existing license or access MATLAB for free. Go to
If you require help, please contact MathWorks support:
-Cody Lamke

Sign in to comment.

tahir khalil
tahir khalil on 26 Sep 2020
Walter Roberson
Walter Roberson on 26 Sep 2020
I would suggest deleting or renaming all of the files mentioned in that "license path" and then re-activating.
The trial license should be deleted; it is not doing you any good anymore and having it there can cause problems.
The license.dat and license.lic in the same directory can exist for two possible reasons:
  1. You were running a license server on what appears to be your personal desktop machine. If that were the case then you would follow the instructions there to update your license server executable and then you would re-activate to pull down a new license file. This situation would require action from either the license technical contact or the license purchasing administrator; OR
  2. that particular combination of files can occur on systems in which someone installed a license crack to pirate MATLAB.
If you are not the owner or adminstrator of the machine, you should get the owner or adminsitrator to fix the problem.
If you are the owner of the machine, then you should review your email correspondance with Mathworks, as they would have sent you the license activation information at the time of your purchase of R2017a.

Sign in to comment.

Vikrant Kumar
Vikrant Kumar on 18 Oct 2021
error 96


No tags entered yet.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!