MATLAB Answers

Why am I continuously prompted to activate when I try to launch MATLAB?

1,880 views (last 30 days)
I am trying to activate and use MATLAB. Every time I start MATLAB, it prompts me to activate, even though I complete the process and it states activation is complete each time.
Why am I continuously prompted to activate when I try to launch MATLAB?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 3 Dec 2020 at 5:00
Edited: MathWorks Support Team less than a minute ago
When launching MATLAB, you will be prompted to activate if no valid license files can be found on the license file search path. The most common reasons that MATLAB will continuously prompt you for activation are:
  • Activating to the wrong computer login name (username)
  • Insufficient user privileges
  • Wrong file type
  • Activating to an expired or invalid license file
Activating to the wrong computer login name (username)
For Individual licenses, the MathWorks Installer and Activation Client will attempt to place the license file into the directory of the user specified. If the user specified is not the user attempting to launch MATLAB, then MATLAB will not be able to locate the license file. This is most commonly seen when administrator credentials are used to install or activate due to to limited user permissions, and as a result, the license file is stored under the administrator account.
To resolve this, verify the username  of the MATLAB user, then reactivate MATLAB  with the correct username.
Insufficient user privileges
When activating MATLAB, you must have sufficient user privileges to create the required licenses folder and create the license file. To verify that the license file is being created, browse to the location where the license files are stored for your license option and operating system type:
If you do not see a license file, or the licenses folder, you may not have sufficient privileges.  You may resolve this by activating the license manually then placing the license file into the appropriate directory found in the link above:
Note: You may be required to create the licenses folder for R2020a and newer.  If so, verify that the name matches the path found in the article  above.  For example, Individual licenses will be located in the folder R20XXx_licenses, with the XXx changed to match the release.
Wrong file type
License files must be a LIC file.  LIC files have a .lic extenstion, e.g. license.lic or network.lic. If the license file has any other extension, such as .txt, MATLAB may not be able to read the license, and you will be prompted to activate.
To resolve this, change the file extension to '.lic'.
Note: The exception to this is DAT files used by network License Managers.
Activating to an expired or invalid license file
If the license file is expired or invalid, MATLAB will prompt you to activate.  To resolve this, download a new license file.

  12 Comments

Show 9 older comments
Roland Edwin Hall
Roland Edwin Hall on 22 Oct 2019
It could be that you need to lower your firewall turn it off and check that your email is correct if you can get into your account then it promps you to on the licence and click the it. Change your email call Mathlab Hope this helps
Antonin Licka
Antonin Licka on 7 Oct 2020
The offline license worked for me, but be precise with the windows user name and you have to make the license folder in the MATLAB folder. I was kinda confusing for me when they specified to put it in the folder that i didnt have.

Sign in to comment.

More Answers (6)

soxib abduxalilov
soxib abduxalilov on 20 May 2018
I am trying to activate and use MATLAB. Every time I start MATLAB, it asks me to activate, even though I complete the process and it states activation is complete each time. Why am I continuously prompted to activate when I try to launch MATLAB?

  2 Comments

Walter Roberson
Walter Roberson on 20 May 2018
You might need to Run As Administrator once.
If that does not work, contact Mathworks for free installation assistance.

Sign in to comment.



Tech Support
Tech Support on 13 Apr 2018
Hi,
If you are still experiencing this issue, please contact MathWorks support:
-Justin

  0 Comments

Sign in to comment.


durga sadasivuni
durga sadasivuni on 26 Jun 2018
I am trying to activate and use MATLAB trial. Every time I start MATLAB, it asks me to activate, even though I done with all the process and it states activation is complete each time.Even I did every process mentioned above still getting the same problem. Why am I continuously prompted to activate when I try to launch MATLAB,please help me out

  3 Comments

Richard Finlan
Richard Finlan on 8 Nov 2018
Same issue - just wanted to update from 2017b to 2018a but now I cant work at all. Tried as Administrator, online and manual activation with file. Help please I cant do my Project.
Walter Roberson
Walter Roberson on 8 Nov 2018
Richard, the volunteers who answer questions here do not have access to the license database and do not have access to your system. We are also not trained on the various ways to investigate this problem. It is recommended that you contact Mathworks for free installation assistance.

Sign in to comment.


Seungyoun Lee
Seungyoun Lee on 2 Jul 2019
Edited: Seungyoun Lee on 2 Jul 2019
They do not want to resolve customer's problem. Why matlab developers did not try to solve the problems? Why? Is it customer's problem? or Matlab's fault?

  2 Comments

HABILA
HABILA on 2 Jul 2019
This is happening because the licence of that particular MATLAB has expired. One can get a new licenced version of MATLAB.
Walter Roberson
Walter Roberson on 2 Jul 2019
Seungyoun Lee: what leads you to understand that "they do not want to resolve customer's problem" ? Mathworks actively updates the response here to add information, clarify, and rephrase for better understanding.
Mathworks offers free support for installation problems.

Sign in to comment.


Adesh Prasad
Adesh Prasad on 26 Nov 2020 at 6:14
Had same problem. I think this is the answer for most people..
I'm logged in as a regular User, not my Administrator user account. But Matlab insisted to use my Adminstrator user account name when activating, even though I was installing in my regular user account.
So to run Matlab from my regular user account, need to right click on Matlab icon, say run as Administrator, then Matlab opens without opening Activation window every time.
Hope this helps.

  0 Comments

Sign in to comment.

Tags

No tags entered yet.

Products


Release

R2008a

Community Treasure Hunt

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

Start Hunting!