MATLAB Answers

How can I install MATLAB or other MathWorks products on an offline machine?

4.092 views (last 30 days)
I need to install MATLAB on a machine which cannot connect to the internet. How can I do this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 25 Sep 2020
Edited: MathWorks Support Team on 5 Oct 2020
To install MATLAB or other MathWorks products on an offline machine, complete the following tasks:
  1. Download a complete set of installation files and copy them to the offline computer. Do not skip this step.
  2. Activate MATLAB in the License Center to obtain the license file and file installation key (FIK).
  3. Install MATLAB or other MathWorks Products.
1) Download Installation Files
In order to install MATLAB or other MathWorks products on an offline machine, you must first download a complete set of installation files. Do not skip this step.
Note: The ~300 MB installer downloaded from the MathWorks website is NOT a complete set of installation files.
If you attempt to install MATLAB on an offline machine without first downloading a complete set of installation files, you will encounter an error and be unable to proceed with the installation.
Instructions for downloading the offline installation files can be found here:
2) Activate MATLAB to obtain the license file and File Installation Key (FIK)
You must also activate your license to the offline machine before running the installer to obtain the File Installation Key and the license file.
To activate for an offline machine, see the following article:
Please note that for network licenses, you will require a server license file.  If you do not have the server license file, please contact your License Administrator(s).
3) Install MATLAB or other MathWorks Products
After you have the installation files, the File Installation Key, and the license file, you are ready to install MATLAB and other MathWorks products..
  1. Launch the MathWorks Installer from the installation files
  2. Select "Advanced Options" in the top right of the installer. For R2019b and older, choose the 'offline' or 'Use a File Installation Key' installation method.
  3. Enter your File Installation Key (FIK), then select Next.
  4. (R2020a and newer) Browse to the license file, then select next and continue through the installation.
  5. After the installation is completed, you may launch MATLAB.
For R2019b and older, you will be prompted to activate after the installation is completed.
  1. Once your installation completes, the activation client will automatically launch.
  2. In the activation client, select “Activate manually without the Internet”
  3. Select the first option, “Enter the full path to your license file…”
  4. Browse to the license file.
  5. If you receive an 'Activation Complete' message, MATLAB is installed and activated.

  9 Comments

Show 6 older comments
Martin Musyck
Martin Musyck on 16 Mar 2019
Please do not allow student license owner to download File Installation Key if it is not avalable for them...
Andrés Bustamante
Andrés Bustamante on 30 Mar 2020
The activation program does'nt give me the "Activation without internet" option, what can I do?

Sign in to comment.

More Answers (10)

Darnell Gawdin
Darnell Gawdin on 1 May 2020
I've wasted more than half a day trying to install offline.
Version 2020a just crashes when I try to run even the simplest script. I reinstalled, it downloaded everything again, this didn't work. I downloaded the software and jumped through the hoops to get the file installation number and try to install. It says it can't find files.
So do I have to try and install it again off the net only to find its not going to work again. How much time do I have to waste trying to get this thing to work when I paid a good chunk of change for it?

  4 Comments

Show 1 older comment
Darnell Gawdin
Darnell Gawdin on 6 May 2020
Thanks, yes I have started a service request and am recieving help with this issue. Thanks for inquiring about it. Its been a frustrating time. The problem may have started with a windows update.
Darnell Gawdin
Darnell Gawdin on 7 May 2020
Good News, the problems has been solved. Support kept asking me for the dump files but I found there were none. I did find a windows Report.wer file that indicated there was a problem in a dll file. I also found a java dump file created at the same time Matlab crashing.
I ended up repairing windows with a repair disk, uninstalling and reinstalling java and uninstalling matlab and inststalling in a new directory. I tried it out and seems fine.
Jack
Jack on 3 Sep 2020
Having also found this process incredibly frustrating, it is worth mentioning again that the whole activation rubbish only disadvantages Matlab's customers. I really wish they would get rid of it.

Sign in to comment.


dd
dd on 5 Apr 2019
I have wasted one week , just for install matlab on linux .
I have tried ALL ALL ALL methods answered here, but it is still could installed in linux ???
why ?
why?
why ??!!!

  3 Comments

Steven Lord
Steven Lord on 5 Apr 2019
Since you've tried all the suggestions given in this Answer, please contact Technical Support using the Contact Us link in the upper-right corner of this page. Reference this Answer in your support request and describe what happened when you tried each suggestion (it's possible that the steps for one or more of the suggestions need to be updated, and knowing what happened when you tried the existing steps might indicate that) and work with the Support staff to determine the right steps that will let you install on your Linux machine.
Jack
Jack on 3 Sep 2020
Having just spent about eight hours battling this on an offline server, before finally getting the right FIK and license type, it is worth mentioning once again that this entire procedure is moderately pointless, and greatly inconveniences paying customers -- like us -- for no gain.
Walter Roberson
Walter Roberson on 3 Sep 2020
Jack: what would you propose that would permit Mathworks to distinguish between "paying customers -- like us" and those who are not in fact paying customers and are instead trying to run MATLAB for free without a license?
Mathworks has a continued problem with people wanting to pirate their software. It is considered a truism in the software industry that every license validation mechanism must end up inconveniencing legitimate users.
Literally the only way that I have ever heard of to prevent license validation problems is for the software to have no license protection mechanisms at all, and hope that people are still willing to pay for what they can copy for free.

Sign in to comment.


Albie
Albie on 18 Apr 2017
Hello, At the moment, I am trying to package 2016B so it can be deployed automatically via SCCM to the business. During the installation, it asks for a file Installation key. I have managed to download the software but do not have a file installation key. In the past, we have managed to package the application with all of the toolboxes, but the end user would not be able to use them unless they had the correct license file to activate.
Was hoping that we could have a File Installation Key that allows me to install all of the toolboxes? Please Note: even though they are installed, they cannot be activated without the proper license file

  2 Comments

Ellen Yang
Ellen Yang on 6 May 2017
I have downloaded the license.lic, but I didn't get the file installation key .I'm troubled now .Do need help!!

Sign in to comment.


Mohammed Al-Yagoub
Mohammed Al-Yagoub on 3 Nov 2017
I have followed all steps in download, install and activate procedure but the prompt still shows trail. I have downloaded the student edition 2017b

  1 Comment

Kyle Perry
Kyle Perry on 9 Nov 2017
Hi Mohammed, if you are still experiencing an error during manual installation, please contact support so we can assist.

Sign in to comment.


AlexG
AlexG on 18 Mar 2018
This process does not work for me. While running the R2017b Installer, after selecting "the 'offline' or 'Use a File Installation Key' installation method", I'm still getting the "The application could not connect to MathWorks." Any suggestions?

  1 Comment

Christer Thunell
Christer Thunell on 3 Feb 2020
Tip that helped me. When running the installer make sure you run it with admin rights. Right-click on the file, choose "Run as administrator" and then it runs well

Sign in to comment.


Asad Mahmood
Asad Mahmood on 10 Feb 2019
Hello
I'm a student of graduation and trying to install matlab but they are saying any activation key to activate your account !!
Is there any way to install matlab free pleae help

  1 Comment

Kyle Perry
Kyle Perry on 14 Feb 2019
Hello Asad,
Your University may already have a license of MATLAB available. I have attached a link below that allows you to sign up for a trial of MATLAB.

Sign in to comment.


Roger Burchett
Roger Burchett on 10 Feb 2019
Sure you can install and use matlab for free! You just have to be willing to be a criminal theif and steal the license from a shady torrent site that will most likely include a trojan virus along with it. Barring that, If you are a student at a graduate college, ask the school for a copy. Most of them pay for a site license that covers all of their students educational uses.

  0 Comments

Sign in to comment.


Hlödver Sigurdsson
Hlödver Sigurdsson on 29 Mar 2019
I just bought MATLAB with Home license and I need to install it in offline mode, since I'm using NixOs I can't access the interntet during installation (purely functional installation means no side effects), I can download files if I provide sha256 sums. Don't understand why home license users can't activate offline, hope I didn't waste my money.

  0 Comments

Sign in to comment.


Priyank Raj Pathak
Priyank Raj Pathak on 21 Jul 2020
HOW MUCH DATA REQUIRE TO DOWNLOAD MATLAB?

  1 Comment

Walter Roberson
Walter Roberson on 21 Jul 2020
For MATLAB itself, less than 5 gigabytes. For MATLAB with a bunch of toolboxes it can exceed 35 gigabytes.

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!

Translated by