MATLAB Answers

10

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

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?

Products


Release

R2008a

5 Answers

Answer by MathWorks Support Team on 1 May 2019
Edited by MathWorks Support Team on 1 May 2019
 Accepted Answer

The most common reason that MATLAB will continuously prompt you for activation is that due to limited user permissions, administrator credentials were used to activate. As a result the license file is stored under the administrator account.
Access to the folders where license files are located is required to resolve this issue. With Individual licenses, these files are typically placed in a folder specific to your Login Name on the system. For all other licenses, they will be placed in the licenses folder within the MATLAB installation directory.
To access the directory where your license files are stored, see the appropriate section for your license type and operating system in this article:
If these license folders are empty, the license file was written to the administrator account.
The MATLAB activation client either saved the license file to the administrator account home directory or was unable to write the license file. To resolve the issue, manually activate MATLAB through our website using the instructions below.
How do I activate MATLAB without an internet connection?
https://www.mathworks.com/matlabcentral/answers/259627
Then, place the license file in the following locations depending on your license type:
Designated Computer, Concurrent, Network Named User
*Windows: *C:\Program Files\MATLAB\R20XXx\licenses
Mac: License files are stored inside the MATLAB application package.
Right click, CTRL-click, or two-finger click on the MATLAB icon in your Applications folder and select "Show Package Contents."
In the folder that opens up, open the "licenses" folder to see your license files.
*Linux: */usr/local/MATLAB/R20XXx/licenses
If you have an Individual license type, or DO NOT have write permissions to the directories above, place the license file in these directories.
*Windows: *%AppData%\MathWorks\MATLAB\R20XXx_licenses
Mac: /Users/$USER/Library/Application Support/MathWorks/MATLAB/
Linux: ~/.matlab/R20XXx_licenses

  9 Comments

This did not work for my Linux CentOS installation. I deleted the license file and went through the activation procedure, which generated a new license file. When I started Matlab, the activation window came up again.
I also tried the -c option for starting MATLAB and pointed toward the license file. In that case, I got the following error.
Licensing error: -1,379.
Looking up errors -1 and 379 didn't result in any solutions either.
Hi,
If you are still experiencing this issue, please contact MathWorks support:
-Justin

Sign in to comment.


Answer by 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?

  1 Comment

You might need to Run As Administrator once.
If that does not work, contact Mathworks for free installation assistance.

Sign in to comment.


Answer by Torbjörn Widhe on 11 Oct 2016

If you are running R2016a with floating licens and redundant servers there is a bug causing this, see
for details and solution.

  0 Comments

Sign in to comment.


Answer by 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.


Answer by 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

Contact Mathworks for free installation assistance.
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.
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.