MATLAB Answers

How do I install additional toolboxes into an existing installation of MATLAB?

20,397 views (last 30 days)
New toolboxes have just been added to my license. How do I install additional toolboxes into an existing installation of MATLAB?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Feb 2021
Edited: MathWorks Support Team on 17 Feb 2021
To install new toolboxes, rerun the MathWorks installer to add any additional products not currently included in your installation.
For instructions on installing products using the MathWorks Installer, see the following article:
Before running the MathWorks installer to install an additional toolbox, please keep in mind:
  • Toolboxes must match the release of MATLAB they are installed into, e.g. you cannot install a toolbox for MATLAB R2014b into MATLAB R2015a.
  • If installing the toolboxes offline, the installation files must match the update version of MATLAB, e.g. R2020a Update 2 Installation Files can not be used to install a toolbox to R2020a Update 3 MATLAB. 
  • MATLAB must be closed in order to run the installer.
  • The MathWorks installer will install new toolboxes in the default MATLAB installation folder. If you installed MATLAB somewhere other than the default folder, you will need to select the folder where MATLAB is installed when prompted for the MATLAB installation location.
  • During installation, you may be prompted to overwrite any existing products. If prompted, opt to skip installation of any existing products.
  • For R2019b and older, the activation process will begin after installation. You need to activate your products in order to use them.
  • If the computer is not connected to the internet and you are using a File Installation Key to install the toolboxes, you will need to obtain an updated File Installation Key, License File, and the installation files. See the following article for more information: https://www.mathworks.com/matlabcentral/answers/105854
  9 Comments
Cody Lamke
Cody Lamke on 10 Jul 2020
Hello,
For information on why some products may not be showing, please refer to the following article:
Why are some of the products on my license not appearing in the MATLAB installer?
If you are still experiencing this issue, please contact MathWorks support:
-Cody Lamke

Sign in to comment.

More Answers (16)

Walter Roberson
Walter Roberson on 17 Feb 2019
In sufficiently new versions of MATLAB, there is an additional installation method for Mathworks toolboxes that you have already licensed. The method also works with a lot of the contributions in the File Exchange.
In the command window, click on "Add-Ons", which is most of the way to the right on the ribbon of widgets. In the menu that pops up from there, click on "Get Add-Ons". This will bring up the Add-On Explorer
addons_explorer_screenshot.png
You can then use the search box to search for the Mathworks toolbox you want. A list of matching entries will be shown to you. Click on the entry you want to be shown details. On that window, there will be a button to trigger installation.
If you are installing a MATLAB Product, then the Add-On Explorer will warn you that it needs to shut down MATLAB. You can take that opportunity to save anything you need saved. You can then continue. MATLAB will shut down, the installer will be launched, and you will confirm installation and proceed.
If you are installing something from the File Exchange, then MATLAB will not need to shut down.
  8 Comments
Walter Roberson
Walter Roberson 7 minutes ago
If you are referring to the sudo then that is for Linux only, and you would only need to use a terminal (or console) session, use cd to change your directory to the directory where your MATLAB installation software has been downloaded, and give the sudo command there. This is not inside matlab at all. https://www.howtogeek.com/140679/beginner-geek-how-to-start-using-the-linux-terminal/

Sign in to comment.


David Verrelli
David Verrelli on 10 Jun 2015
Edited: MathWorks Support Team on 17 Feb 2021
The answer by the MathWorks Support Team focusses on Toolboxes that are supplied and licensed by MathWorks. (Which also appeared to be the concern represented in the Original Post.)
There are also many third-party Toolboxes available — often freely — such as on MATLAB Central. There are key differences with these products:
1. Licensing is different.
2. AFAIK, they are not handled by the MATLAB installer or Licence Manager.
3. From statements on MATLAB Central and elsewhere online, it appears that third-party Toolboxes are typically not 'locked' to a specific version of MATLAB. Presumably this issue for the MathWorks's own proprietary Toolboxes is more of a licensing issue. (Of course, occasionally compatibility issues may arise when core MATLAB commands are deprecated or otherwise modified between release versions.)
4. (a) Typically, users are advised to copy the third-party Toolbox to a local folder of the user's choice, and then add that folder to the MATLAB path. See e.g. https://stackoverflow.com/questions/3389545/how-to-install-toolbox-for-matlab
(b) A newer feature packages the third-party Toolbox as a *.mltbx file. Example: https://www.mathworks.com/matlabcentral/fileexchange/41594-medical-image-processing-toolbox. These are pseudo-self installing. In a Windows environment, simply double-click this file after saving locally, and a MATLAB Toolbox installation GUI will pop up to handle the process. However, even after successful installation the third-party Toolbox is not listed when issuing the ver command. Rather, the third-party Toolboxes can be inspected (and uninstalled) from the Home menu by clicking the Add-Ons button (in the Resources group) and choosing Manage Custom Toolboxes. Behind the scenes, the third-party Toolbox files are extracted (by default) to %MATLABStartUpFolder%\Toolboxes ( cf. 'userpath' [[1]] ), with a file 'toolboxFolders.txt' created that appears to list the relevant paths for installed third-party Toolboxes.
—DIV
  2 Comments
Colin Fraser
Colin Fraser on 14 Aug 2019
Hi Zenyab,
This article refers to official MATLAB Toolboxes. What you are trying to install looks to be a support package. You can download and install those within MATLAB through the Add-On Manager.

Sign in to comment.


B K
B K on 30 Apr 2015
Could you please be a little more specific about the following point:
If you already have MATLAB installed and want to add 1 new toolbox, is it then possible to do this downloading only the new toolbox and installing it, or does one have to download MATLAB together with all the toolboxes already installed plus the new toolbox - and then install everything again.
That is, is there an incremental toolbox installation feature or do you always reinstall the entire installation.
The answer should reflect all versions, but I am specifically interested in R2013a. In addition, I have a DVD. Trying the normal installation procedure, I would have expected the installation program to return specifying which toolboxes that are already loaded and asking if I wanted to add or remove some. This does not seem to be the case. It looks like you reinstall everything you specify, so you have to rememebr to specify the toolboxes you already have installed.
  3 Comments
hammad hamad
hammad hamad on 21 Nov 2020
Hi.
I already installed trial version of R2020b. but most of toolboxes are not installed like Antennas toolbox..is there any way to install which toolbox I need without remove matlab and install it again?
Thanks,,

Sign in to comment.


Prasobhkumar P. P.
Prasobhkumar P. P. on 13 Jan 2017
It's an old thread, still thought to answer it.
Initiate the installation as normal, select only the check box corresponding the tool box you want to install. You can see "installed" against your already existing tool boxes and modules. Good luck

Kevin Huitema
Kevin Huitema on 17 Nov 2015
L.S>
We just purchased an extra toolbox for Matlab and want to deploy this to our workstations. Is there a way for a network admin to Deploy this toolbox to our workstations without remove/reinstall Matlab completely or redirecting the user to Mathworks.com
regards Henk Croijmans

Fletcher
Fletcher on 12 Dec 2013
Edited: Walter Roberson on 13 Jan 2017
Can someone clarify if its necessary to download all the .zip files for the toolboxes to the local install DIR, or can the installer login with my creds and using the license pull all those via my proxied internet connection?
Because I am not seeing no toolboxes to install with that method.
I am however able to login with the same creds on mathworks.com and download all 3.9Gb of .zip files using that same license.
Is the internet install broken somehow?
thanks
I downloaded all 3.9Gb of the toolbox .zip files and verified via strace the linux installer is O_RDONLY opening them all yet failing to list them for installation. I was allowed to download them, yet the installer fails to list them for installation. This feels like the installer is not seeing the right license file. I will open a case with support.
thanks

Szabó-Takács Beáta
Szabó-Takács Beáta on 29 Apr 2015
Dear All, I would also have a question in connection with install new toolbox. I downloaded the weaclim toolbox. I would like use it. How I can install this toolbox?
  1 Comment
Walter Roberson
Walter Roberson on 10 Jun 2015
weaclim is a File Exchange Contribution. You download the .zip, unpack it into a directory of its own, and use
pathtool
to add the directory to your MATLAB path.

Sign in to comment.


Jeremy Rutman
Jeremy Rutman on 26 Dec 2015
I installed ml recently (after being forced to install a gui since the headless install procedure is hopeless) , now need to install a package. I hit ./install and get
Preparing installation files...
Installing ...
Finished
which doesn't allow installation of anything more...

vertulonix vertu
vertulonix vertu on 4 Dec 2017
random To use 'random', the following product must be licensed, installed, and enabled: Statistics and Machine Learning Toolbox
the above random commands and some funtions not working 2017b
please reply

Sanket Ulagadde
Sanket Ulagadde on 23 Mar 2018
Is it possible for me to install MATLAB version R2018a when i already have R2017b installed on my PC? If yes, how? Please help. Thank you.

Justin Ghetti
Justin Ghetti on 23 Mar 2018
Edited: MathWorks Support Team on 17 Feb 2021
Yes, it is possible to install multiple versions of MATLAB since each release creates its own directory. For more information on installation, please see the link below.

Jorge PARDIÑAS-MIR
Jorge PARDIÑAS-MIR on 17 May 2018
I'm using version R2017a and having a campus license. I just clicked on the Add-Ons icon on the bar menu from MATLAB and choose Get Add-Ons. It opens a window showing the different products you can add-on, toolboxes included, and all you have to do is click on it. It starts to download and install, very easy in my case.

Mikhail
Mikhail on 24 Dec 2018
Edited: Mikhail on 24 Dec 2018
If I want to add toolboxes to MATLAB installation that has updates installed (like R2018b Update 1), it refuses to install from original iso (which is understandable) and links to non-existing MATLAB Answer:
Text: The specified folder has R2018b Update 1 installed. To add products to this installation, see this MATLAB Answer.
  6 Comments
Walter Roberson
Walter Roberson on 14 Jan 2019
I would tend to think that when you go to install from ISO, if you agree to have the installer check for newer versions, that it will detect the updates. But I do not know that for sure as I have only installed a couple of Update * and was not paying attention to this factor.

Sign in to comment.


Muhammad Usman Gul
Muhammad Usman Gul on 26 Sep 2019
After installation latest Matlab R2019a, I have installed selected toolbox at that time. Now I would like to install all other toolbox. Please let me know how to select all remaining toolbox at a time instead of one-by-one install.
  1 Comment
Walter Roberson
Walter Roberson on 26 Sep 2019
"To install new toolboxes, rerun the MATLAB installer to add any additional products not currently included in your installation.."
If you use the Add-On Explorer root then you can only install one toolbox at a time.

Sign in to comment.


Anil Kumar
Anil Kumar on 7 Feb 2020
Follow these steps to add toolbox to already installed Matlab
1) rerun the Matlab installer
2) login with mathwork/use a file insttalation key(without internet)
3) there appears the additional toolbox (added to your licence)
4) select this and install.
Regards,

salah SALEM
salah SALEM on 10 Feb 2021
please how to add useful ones in matlab like hmm and n gram
  2 Comments
Walter Roberson
Walter Roberson on 11 Feb 2021 at 4:32
Search the File Exchange for the toolbox and click on the Download link. Unzip the file into a convenient directory that is not under the MATLAB installation directory. If it is a single file then you probably need to have MATLAB open the file, by finding it in the Folder window in MATLAB and double-clicking. If it is a directory of files, then use pathtool to add the directory to your MATLAB path.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!