MATLAB Answers

How do I activate MATLAB or other MathWorks products without an internet connection?

2,939 views (last 30 days)
How do I activate MATLAB and/or other MathWorks products on a computer that is not connected to the internet?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 4 Jun 2021
Edited: MathWorks Support Team on 4 Jun 2021
To activate MATLAB and/or other MathWorks products on an offline machine, you must:
  1. Obtain your Host ID
  2. (Individual licenses only) Obtain your computer login name or username
  3. Activate the license through the License Center to obtain license file
  4. Use the activation client to activate MATLAB or other MathWorks products with the license file
Obtain your Host ID
To obtain your host ID, follow the article below:
What is a Host ID? How do I find my Host ID in order to activate my license?
(Individual Only) Obtain your computer login name or username
To obtain your computer login name or username, follow the instructions in this article:
How do I find my computer username in order to activate my license?
Activate the license through the License Center to obtain license file
  1. Go to the License Center: https://www.mathworks.com/mwaccount
  2. Under My Software, click the license number you want to activate. If you do not see your license number, in the bottom right hand corner, click View Additional Licenses or Trials
  3. Click the Install and Activate tab
  4. Click Activate to Retrieve License File or Activate a Computer.
  5. Enter the following information: the release you are activating, the operating system, the host ID, your user or login name, and the Activation Label.
  6. Download the license file 
Use the activation client to activate MATLAB or other MathWorks products with the license file
  1. Transfer over the license file.
  2. Run the activation client. You can find how to open up the activation client in the article below
    • How to activate MATLAB?
  3. https://www.mathworks.com/matlabcentral/answers/99457-how-do-i-activate-matlab-or-other-mathworks-products
  4. Select "Activate manually without the internet"
  5. Select "Enter the full path to your license file, including the file name:" and browse to the license file.
  6. Hit Next, and then activation will be complete. Click Finish.
  16 Comments
Klaus Weinzierl
Klaus Weinzierl on 27 Apr 2021
Step 1: OK
Step 2: Error: Tab "My Software" does not exist. Clicking on license number instead. Error: "View Additional Licenses or Trials" does not exist.
Step 3: Tab "Install and Activate" found -> O.K.
Step 4: Error: Neither "Activate to Retrieve License" nor "Activate a Computer" exist. Clicking on "Activate to Retrieve License file" instead.
Step 5: Host Id found, release found. Error: Do not know where to enter these informations
Step 6: Downloading the license file and activating matlab.
Final remark: Just 2** for this very bad description. This needs to be really improved

Sign in to comment.

More Answers (14)

Nathan Goedeke
Nathan Goedeke on 4 Dec 2018
I solved the issue mentioned in the comments: DO NOT run the Matlab Activation Client
Matlab must have changed the activation client GUI but never bothered to update their FAQ.
After you complete steps 1-8 in the official answer, do the following additional steps:
  1. Copy the downloaded liscence file to the following directory (using Windows): C:\Program Files (x86)\MATLAB\{version}\licenses
  2. Delete any other liscence file already in that directory
Now you can start Matlab, and this time the activation client will not run. You do not, repeat, DO NOT need to run the activation client.
  4 Comments

Sign in to comment.


Amy Meader
Amy Meader on 5 Nov 2016
I would seriously like customer service or help center or whomever to try and follow your own directions. I give up.
  3 Comments

Sign in to comment.


Zhiyuan Liu
Zhiyuan Liu on 19 Jan 2020
No offence, But I find a lot of pirate version of MATLAB installation guide much more easy to follow.
And they have a much higher successful rate!!
Although I have a license.

omar ElewA
omar ElewA on 9 Mar 2017
in the second step where is "my software" or where is "View additional Licenses or Trials" ?? you are telling things that are not exist I'm spending one hour for installing this program and no progress
  2 Comments

Sign in to comment.


Thomas Vincent
Thomas Vincent on 15 Jan 2019
Edited: MathWorks Support Team on 19 May 2021
Note that the host ID for matlab 2008b (and most surely up to matlab 2013), is resolved from the MAC of eth0 (and no other) on linux.
Recent linux have different interface name instead of eth0.
It is not indicated, but you should reboot after reconfiguring grub at the end of the instructions.


ANA H
ANA H on 11 Nov 2019
Hi,
I can't install MATLAB following these ofline instructions.
I've got a license.lic. Where I have to put license.lic file? in _temp_matlab_R2019a_win64 folder?
After write my File Installation Key it shows next message:
'Using a File Installation Key requires you run the installer from a MATLAB DVD or from a directory which contains files previously downloaded via the installer.
To obtain the missing files, click Back on the previous screen and select Log in with a MathWorks Account or contact your MATLAB license administrator. '
What can I do?
Thanks,
Ana
  8 Comments

Sign in to comment.


Eliza Roxana OPRESCU
Eliza Roxana OPRESCU on 16 Mar 2020
Why am I have to activate every time when I try to launch MATLAB and it never starts?
When i try to acces Matlab, it asked me to activate every time..after the activate module is complete the program never starts...
  1 Comment
Nathan Goedeke
Nathan Goedeke on 16 Mar 2020
Hey Eliza,
I had the same issue you did earlier, and my solution is one I posted earlier on this thread:
  1. Copy the downloaded liscence file to the installation folder, i.e. C:\Program Files (x86)\MATLAB\{version}\licenses
  2. Delete any existing liscence files already in that folder
This will prevent the activation client from popping up again.
Nathan

Sign in to comment.




Angela Pico
Angela Pico on 14 Apr 2020
porque no puedo abrir el programa de Matlab por el error -9
Que hago para solucionar
  1 Comment
Walter Roberson
Walter Roberson on 14 Apr 2020
If none of the answers above work for you, then you need to contact Mathworks for free installation assistance.

Sign in to comment.


Kimberly Andersen
Kimberly Andersen on 25 Jul 2020
Got it to work finally!! I'm trying to download 2009 Student (yes in 2020 lol) and these directions worked through downloading a license file (step 6). I wasn't given an option to activate my license without internet in the activation window so I wasn't able to do steps 7-10. I moved the downloaded license file from my download folder to C:\Program Files (x86)\MATLAB\R2009a Student\licenses and once I put it in the license folder I was able to start Matlab without going through the activation window, it just opened up! woohoo! Thanks!!


Community Treasure Hunt

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

Start Hunting!