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

3.424 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 28 Nov 2022
Edited:MathWorks Support Team on 28 Nov 2022
To install MATLAB or other MathWorks products on an offline machine, you'll need to 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 theLicense Centerto 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 isNOTa 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 machinebeforerunning 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.
19 Comments
Devin King
Devin King on 6 Dec 2022
Hi Keith, did you ever resolve this issue? I have having the same problem... Thanks!

Sign in to comment.

More Answers (15)

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


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?
6 Comments
Walter Roberson
Walter Roberson on 25 Apr 2021
For at least the last 5 years, Linux systems will activate if the host ID in the license file matches any of the ethernet interfaces on the system.

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.

ARIANNA CUIUS
ARIANNA CUIUS on 10 Mar 2021
I don't know if my problem needs a similar solution, but I can't install matlab with my academic license inside my user account of a server of my university. During the installation, it asks me for the key. I didn't have the same problem when I installed it in my personal computer. How can I resolve this problem?
1 Comment
Colin Fraser
Colin Fraser 2021年3月17日
What kind of key?
If you are still experiencing this issue, please create a service request below.
-Colin Fraser

Sign in to comment.


Tapio Kramer
Tapio Kramer on 3 Aug 2022
Edited:Tapio Kramer on 3 Aug 2022
Since 2022 there is a MathWorks Packet Manager for MathWorks products on Linux.
You can install most MathWorks products on Linux (not Windows) easily and fast - without requiring a license.
But for sure ... you can only use them with a license.
https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md

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

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
Edited:MathWorks Support Team on 12 Feb 2018
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
3 Comments
Colin Fraser
Colin Fraser 2021年3月17日
Edited:MathWorks Support Team on 23 Mar 2022
Your license might require an activation key to reactivate. In that case, I would contact your license administrators for the activation key.
If you are still experiencing this issue, please create a service request below.
-Colin Fraser

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.

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.



Vijendra Jois
Vijendra Jois on 27 May 2021
Sir,
I need Installation key and trial liscence in order to complete my project
thanks
1 Comment
Walter Roberson
Walter Roberson on 27 May 2021
Edited:MathWorks Support Team on 23 Mar 2022
Sorry, the volunteers who answer questions here do not have access to the license database, and cannot provide keys or grant trial licenses. You will need to request a trial through //www.tatmou.com/campaigns/products/trials.html or contact Mathworks Sales.

Sign in to comment.


Marta G
Marta G on 14 Feb 2022
Edited:Marta G on 14 Feb 2022
I was able to install matlab succesfully following this tutorial but after 3 months my license expired.
In my case, I have to indicate the owner of this offline virtual machine what steps to follow when the license has expired (I do not have enough rights to do it myself), and I dont have any information about this. Do I only have to renew my license? Do I need another installation key? I would like to know what steps exactly are needed to follow.
Ps: This tutorial is highly complicated to follow. A videotutorial would have been much simpler.
5 Comments
John Wincn
John Wincn on 5 Oct 2022
Well, I personally have seen your name in here, off and on, for many years. Your comments are usually an interesting read, are quite helpful, and I hope you have found a way to continue.

Sign in to comment.


Tags

No tags entered yet.

下载188bet金宝搏

Community Treasure Hunt

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

Start Hunting!

Translated by