MATLAB Answers

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

9,675 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 22 Apr 2020
Edited: MathWorks Support Team on 22 Apr 2020
To install new toolboxes, rerun the MATLAB installer to add any additional products not currently included in your installation..
To download the MATLAB installer, please follow the steps below:
  • Go to the MathWorks downloads page: https://www.mathworks.com/downloads/
  • Click on the blue button for the latest release or on the link beneath for any other release.
  • Log in to your MathWorks Account if you are not already logged in.
  • If you clicked on the link to download any other release, a list with older available releases will be displayed on the right. Click on the desired release.
  • Select the operating system that you are using.
  • The download will begin after you select your operating system.
Before running the MATLAB 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.
  • MATLAB must be closed in order to run the installer.
  • The MATLAB 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.
  • After installation, the activation process will begin. You need to activate your products in order to use them.
  • If you are using a network license, the network license manager may need to be be updated as well. See the following article for more information: http://www.mathworks.com/matlabcentral/answers/105860.
  • 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. See the following article for more information: http://www.mathworks.com/matlabcentral/answers/102845.

  9 Comments

Show 6 older comments
Shweta Singh
Shweta Singh on 16 Apr 2020
@walter thanks for telling 'sudo' command for LInux. thanks @mathworks_staff it worked.
Albert Piersson
Albert Piersson on 26 Jun 2020

I use 2019a version. However I am running Matlab installer 2019a to install GUI toolbox and Widgets, but do not see them showing up for selection. Anything wrong?? Further, Options for Yes to all, No to all, Yes,and No to overwrite Matlab showed on the screen. Which is the appropriate to choose so that I don't lose the previously installed Toolboxes in other programs installed via Matlab? Quite confusing!

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 (15)

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.

  2 Comments

Felix Fiedler
Felix Fiedler on 10 Jun 2020
Interestingly enough, the search doesn't work as desired ... searching "Simscape" does show only "Simscape - Electrical".
I find the desired "Simscape - Fluids", however, when browsing through the 100+ Toolboxes provided by Mathworks.

Sign in to comment.


David Verrelli
David Verrelli on 10 Jun 2015
Edited: David Verrelli on 11 Jun 2015
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. http://stackoverflow.com/questions/3389545/how-to-install-toolbox-for-matlab
(b) A newer feature packages the third-party Toolbox as a *.mltbx file. Example: http://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.

  2 Comments

Scott
Scott on 22 Jul 2015
Hi B K,
If you are installing from a DVD, if you select "Custom" when prompted about your installation type, you will be able to select or unselect which toolboxes you want to install. However, the installer will not tell you which toolboxes are already loaded.
You can see which toolboxes are already loaded from within MATLAB. The "ver" command will output which toolboxes are already installed, but you need to run this and save it before running the installer since MATLAB cannot be running while you run the MATLAB installer.
However, there's no harm in reinstalling toolboxes which are already installed. It just takes a little more time.
Regards,
-Scott
MathWorks Installation & Licensing Support
Walter Roberson
Walter Roberson on 13 Jan 2017
If you do select a toolbox that you already have installed, then the installer will ask you to confirm that you want to overwrite it; it offers a convenient "No to All" option to quickly allow you to select just the toolboxes that are not already installed.

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

  0 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.


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.

  0 Comments

Sign in to comment.


Justin Ghetti
Justin Ghetti on 23 Mar 2018
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.

  0 Comments

Sign in to comment.


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.

  0 Comments

Sign in to comment.


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

Show 3 older comments
Walter Roberson
Walter Roberson on 13 Jan 2019
The bugs in the R2018b Update 1 installer potentially lead to corrupted MATLAB configurations.
Mikhail
Mikhail on 14 Jan 2019
@Walter you are actually quite right. This doesn't happen on R2018a Update 6, for instance.
Which raises a very different kind of issue. If MATLAB installation is at some update level, installing additional toolboxes from original iso may (and most definitely will) lead to inconsistent state of installation (e.g. older libraries/files mixed with newer ones).
As of R2018a, installer doesn't warn you about this nor it errors out.
As of R2018b... We don't know yet what is going to happen, since no update has been officially rolled out.
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,

  0 Comments

Sign in to comment.