Clear Filters
Clear Filters

How do I generate a MATLAB license file?

345 views (last 30 days)
How do I generate a MATLAB license file on the MathWorks website?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 26 Jun 2023
Edited: MathWorks Support Team on 26 Jun 2023
Option 1: Automatically creating a License File
In most cases, MATLAB will automatically activate itself during the installation process. For installation instructions, please see the link below.
Install Products
However, in some cases you may need to generate a license file by manually entering your computer information into the MathWorks website. Please note that if you are installing MATLAB on an offline computer, you will need to obtain a complete set of installation files as well. For offline installation instructions, please see the link below.
How can I install MATLAB or other MathWorks products on an offline machine?
Option 2: Manually creating a License File
Note: Depending on what permissions have been granted to you, you may need a License Administrator to generate the file for you. This may be applicable if they have not given you permission to generate a license file.
You can use the MathWorks License Center to generate a license file and File Installation Key (FIK). You will need the Host ID of the computer where MATLAB will be installed. For Individual licenses, you will also need the computer User Name for the End User of MATLAB.
To obtain your Host ID, please see:
What is a Host ID? How do I find my Host ID in order to activate my license?
To obtain your username, please see:
How do I find my Login Name in order to activate my license?
Once you have your Host ID and username, you may follow these steps:
  1. Go to the License Center:
  2. Log into your MathWorks Account if you are not already logged in
  3. Select your license number from the list. If you don't see your license, use the links in the upper left hand corner to toggle between Licenses, Trials, and Prereleases
  4. Select the "Install and Activate" tab
  5. If you don't see a list of activations on this page, click the "Activate to Retrieve License File" link under "Related Tasks" on the right side of the page.
  6. On the page titled "Activated Computers," click the blue "Activate a Computer" button on the right side of the page.
  7. Enter the required information to complete activation.
  8. Specify if the software is already installed on the machine. If you need to get a File Installation Key, select "No."
After activating, you will be provided with a License File, and if you clicked "No" on the previous screen, the File Installation Key.

More Answers (0)


Find more on Introduction to Installation and Licensing in Help Center and File Exchange


No tags entered yet.

Community Treasure Hunt

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

Start Hunting!