MATLAB Answers

How do I activate MATLAB or other MathWorks Products?

5,195 ビュー (過去 30 日間)

採用された回答

MathWorks Support Team
MathWorks Support Team 2021 年 6 月 4 日
編集済み: MathWorks Support Team 2021 年 6 月 4 日
When installing MATLAB or other MathWorks Products, the license will activate itself either during installation (R2020a and newer) or after the installation (R2019b and older).
However in some cases it may be necessary to activate MATLAB directly. There are two ways to activate MATLAB:
  • Manually activating through the MathWorks License Center
  • Automatically activating using the activation client
Manually activating through the MathWorks License Center
If you are on an offline machine, it may be necessary to activate the license through the MathWorks License Center.
Instructions on how to activate MATLAB via the license center are detailed in the article below:
Automatically activating using the activation client
It is sometimes necessary to activate an instance of MATLAB which is already installed. For example, you may need to update your license, or you may need to change the license that MATLAB is using.
To activate an instance of MATLAB  which is already installed on an online machine, launch the MathWorks activation client. There are two ways to do this:
If you can launch MATLAB:
If MATLAB is currently activated and able to launch, you can launch the MathWorks activation client from the MATLAB help menu:
  1. In the "Resources" section of the toolstrip, open the "Help" menu.
  2. Hover over the "Licenses" submenu.
  3. Click "Activate software." This will launch the MathWorks activation client.
If MATLAB will not launch
If you have an expired or otherwise unusable license, MATLAB may not be able to launch. In this case, you will need to launch the MATLAB activation client directly. The location of the MathWorks activation client depends on your Operating System:
Windows
The activation client is located here:
C:\Program Files\MATLAB\R20XXx\bin\winXX\activate_matlab.exe
Mac
  1. Open Finder.
  2. Go to "Applications".
  3. Right-click or control-click on the MATLAB application icon. (e.g. MATLAB_R2020b.app)
  4. Click on "Show Package Contents".
  5. Open "Activate.app".
Linux
The activation client is located here:
/usr/local/MATLAB/R20XXx/bin/activate_matlab.sh
Once you have launched the MathWorks activation client:
  1. Select "Activate automatically using the internet."
  2. Log into your MathWorks account
  3. Select the license from the list of licenses you would like to activate
  4. Confirm the activation information.
  5. Click "finish" to complete the activation process.
If you are continuously prompted to activate MATLAB every time you launch it, please see this article:
A video walkthrough on how to install and activate an individual license can be found below:
If you are unable to activate MATLAB after following the instructions in this article, please contact MathWorks support:
  13 件のコメント
Tara Grey
Tara Grey 2020 年 10 月 15 日
Hi, I have a windows 10 and I was wondering where exactly do you put the code in for the activation client?

サインインしてコメントする。

その他の回答 (15 件)

Ronald Woods
Ronald Woods 2015 年 12 月 14 日
For Windows 7 64 bit the location of activate is located in C:\Program Files\bin\win64 not C:\Program Files\MATLAB\R20XXx\bin\winXX, at least on my machine
  9 件のコメント
Walter Roberson
Walter Roberson 2021 年 2 月 4 日
You could use Windows Explorer to navigate to that directory, and double-click on activate_matlab.exe in that directory in order to run it.
Or you could use Windows-R to have Windows give you a GUI to type a command in, and in that space you would paste in
C:\Program Files\MATLAB\R2020b\bin\win64\activate_matlab.exe
and then press enter in order to run the file.

サインインしてコメントする。


Charlotte Verhaeghe
Charlotte Verhaeghe 2015 年 10 月 20 日
While activating the Matlab software, my licence checkout failed because a I gave in the wrong username, is it possible to do the licence activation over?
  3 件のコメント
Walter Roberson
Walter Roberson 2016 年 1 月 15 日
You follow the instructions in the main answer, which is broken down by operating system and broken down by whether you are able to start MATLAB or not.

サインインしてコメントする。


Khurram Amin
Khurram Amin 2016 年 2 月 11 日
I am getting error although I followed this procedure correctly. The error information is given below:
Diagnostic Information:
Feature: SR_MATLAB
License path: (Some Place)/.matlab/R2015b_licenses:/usr/local/MATLAB/R2015b/licenses/license.dat:/usr/local/MATLA
B/R2015b/licenses/(license_file_name).lic
Licensing error: -9,57.
  5 件のコメント
Walter Roberson
Walter Roberson 2019 年 10 月 22 日
I find some Linux related posts that relate SR_MATLAB to ethernet ID problems, but I have never seen any hint that microphones have an influence on licensing ??

サインインしてコメントする。


yati j
yati j 2016 年 9 月 11 日
how do i fix the error software package..my matlab didnt work..
  2 件のコメント
Roland Edwin Hall
Roland Edwin Hall 2019 年 10 月 22 日
Update

サインインしてコメントする。


Patrick
Patrick 2017 年 1 月 31 日
編集済み: Patrick 2017 年 1 月 31 日
Just a quick edit for those in Ubuntu 16.04. If I go to the location described and right-click on the folder then "Open in Terminal" then type in "activate_matlab.sh" you will get a "command not found error"
How need to right-click within the folder and then type sudo ./activate_matlab.sh
  2 件のコメント
Walter Roberson
Walter Roberson 2017 年 10 月 3 日
Patrick did specifically say "Just a quick edit for those in Ubuntu 16.04"
For Windows you would see the information posted by Mathworks, above, directing you to
C:\Program Files\MATLAB\R20XXx\bin\winXX\activate_matlab.exe
for current versions that would be
C:\Program Files\MATLAB\R20XXx\bin\win64\activate_matlab.exe
but sufficiently old versions might use win32

サインインしてコメントする。


OJO AFEEZ
OJO AFEEZ 2018 年 5 月 30 日
plse log me back in
  2 件のコメント
Tech Support
Tech Support 2018 年 6 月 13 日
Hi,
If you are still experiencing this issue, please contact MathWorks support:
-Justin

サインインしてコメントする。


Jophet Mehida BOUEDIBELA
Jophet Mehida BOUEDIBELA 2018 年 9 月 20 日
編集済み: Jophet Mehida BOUEDIBELA 2018 年 9 月 20 日
If MATLAB will not launch
If you have an expired or otherwise unusable license, MATLAB may not be able to launch. In this case, you will need to launch the MATLAB activation client directly. To find the MATLAB activation client on each OS:
Windows
The activation client is located here:
C:\Program Files\MATLAB\R20XXx\bin\winXX\activate_matlab.exe Once you have launched the MATLAB activation client:
Select "Activate automatically using the internet." Log into your MathWorks account Select the license from the list of licenses you would like to activate Confirm the activation information. Click "finish" to complete the activation process.
Thanks! It works perfectly...

Yang Peng
Yang Peng 2018 年 10 月 26 日
osx系统在matlab已经无法启动的情况下如何解决这个问题?
  2 件のコメント
Image Analyst
Image Analyst 2018 年 10 月 27 日
The answer was given above click here

サインインしてコメントする。


Richard
Richard 2019 年 3 月 29 日
What to do when activate_matlab.exe does not open / fails silently?
Win7/64, MATLAB 2018b, used to work fine.
  4 件のコメント
Colin Fraser
Colin Fraser 2019 年 8 月 14 日
Hi Michelle,
If you need more support on this issue, please contact us.
-Colin

サインインしてコメントする。


philip Anyuon
philip Anyuon 2020 年 6 月 8 日
There is no question here, What is question?
  1 件のコメント
Walter Roberson
Walter Roberson 2020 年 6 月 8 日
The question is
How do I activate MATLAB?

サインインしてコメントする。


wilfail memeus
wilfail memeus 2020 年 9 月 25 日
  • Open Finder.
  • Go to "Applications".
  • Right-click or control-click on the MATLAB application icon. (e.g. MATLAB_R2015b.app)
  • Click on "Show Package Contents".
  • Open "Activate.app".
Linux
The activation client is located here:
/usr/local/MATLAB/R20XXx/bin/activate_matlab.sh
Once you have launched the MATLAB activation client:
  1. Select "Activate automatically using the internet."
  2. Log into your MathWorks account.
  3. Select the correct license.
  4. The username field should auto-populate with the correct user name. Leave it as is.
  5. Confirm the activation information.
  6. Click "finish" to complete the activation process.
  7. Restart MATLAB.
  2 件のコメント
Steven Lord
Steven Lord 2020 年 10 月 8 日
If you've gone through the steps in this MATLAB Answers post and MATLAB is still not able to activate successfully please contact Technical Support using the telephone icon in ther upper-right corner of this page and work with them to determine how to get MATLAB working successfully.

サインインしてコメントする。


Lonkong Clovis
Lonkong Clovis 2020 年 10 月 14 日
how can I remove error-9 in version matlab 2020a
  1 件のコメント
Colin Fraser
Colin Fraser 2020 年 10 月 14 日
Check out this article.
https://www.mathworks.com/matlabcentral/answers/99067

サインインしてコメントする。


Shahroz Ali
Shahroz Ali 2021 年 2 月 26 日
How i can download and install matlab
  1 件のコメント
Walter Roberson
Walter Roberson 2021 年 2 月 26 日
Once you have purchased a MATLAB license under your own name, proceed to https://www.mathworks.com/downloads/ and click on "Download MATLAB R2020b" (or as appropriate release depending when you are reading this.)
On the page that comes up, click on Windows, MacOS, or Linux, depending on which operating system you have.
You will be offered a file to download.
  • If you are using Windows, it will be an exe file. Execute the exe file to cause it to unpack some code and automatically start running the installer program
  • If you are using Mac it will be a .dmg.zip file. Double-click on the .dmg.zip file to expand it into a .dmg file, then double-click on the .dmg file to open the disk image, and in that disk image, double-click on the Install MATLAB app that shows up.

サインインしてコメントする。


Nechir Van
Nechir Van 2021 年 3 月 1 日
i canot

Iraj Saleminik
Iraj Saleminik 2021 年 9 月 1 日
I get this error 697 to activate
  1 件のコメント
Walter Roberson
Walter Roberson 2021 年 9 月 2 日

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by