How do I generate a MATLAB license file?

588 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 24 May 2022
Edited: MathWorks Support Team on 19 Apr 2021
In most cases, MATLAB will automatically activate itself during the installation process.
For installation instructions, please see:
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.
For offline installation instructions, please see:
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 some license types, you will also need the computer username of the person that will use MATLAB.
To obtain your Host ID, please see:
To obtain your username, please see:
Once you have your Host ID and username:
  • Go to the License Center:
  • Log into your MathWorks Account if you are not already logged in
  • 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
  • Select the "Install and Activate" tab
  • 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.
  • On the page titled "Activated Computers," click the blue "Activate a Computer" button on the right side of the page.
  • Enter the required information to complete activation.
  • 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.
Walter Roberson
Walter Roberson on 10 Dec 2021
In that situation, Mathworks thinks that the account you are logged into is not the administrator of any license.

Sign in to comment.

More Answers (2)

albert bechane
albert bechane on 23 Mar 2016
how do I get my matlab license form my administrator
  1 Comment
Walter Roberson
Walter Roberson on 23 Mar 2016
You contact your administrator and ask for it?
If you do not know who your administrator is, then Mathworks support might be able to figure out who it is.

Sign in to comment.

basavareddi konnur
basavareddi konnur on 25 Jun 2021
how can i generate matlab license key
  1 Comment
Walter Roberson
Walter Roberson on 25 Jun 2021
If you already own a MATLAB license, and you are the license administrator for your account, then follow the instruction described in
If you do not already own a MATLAB license, then you need to obtain one, whether by purchasing one, or getting a trial, or by being given one by the license administrator for your organization.

Sign in to comment.


No tags entered yet.

Community Treasure Hunt

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

Start Hunting!