MATLAB Answers

6

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

New toolboxes have just been added to my license. How do I install additional toolboxes into an existing installation of MATLAB?

12 Answers

Answer by MathWorks Support Team on 23 Jul 2018
Edited by MathWorks Support Team on 23 Jul 2018
 Accepted Answer

The MATLAB installer is used to install all MathWorks products, including MATLAB, Simulink, and toolboxes.
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.
N.B.: For releases older than R2014a, you need to download the installer executable and the installation files for each toolbox individually. For further instructions on manually downloading and installing pre-R2014a toolboxes, please see the following article:
The MATLAB DVD contains MATLAB, Simulink, and all toolboxes. No download is required if you are installing from a DVD.
For instructions on using the MATLAB installer, please see the MATLAB documentation:
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.
  • If you are using a network license the 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.
If you have a concern about installing additional toolboxes that is not addressed here or would like assistance with performing the installation, please contact MathWorks support:

  3 Comments

Hello, Is it possible to update one toolbox to a newer version without updating Matlab ? For instance, I'm running r2013a and I'ld like to update my Instrument Control toolbox to the newest version without changing anything else.
Additional difficulties is that I have no internet connection on the computer I'm working with, and I can interact with the Terminal only (linux).
Thanks a lot !
Sorry, Victor, No, toolboxes can only be purchased for a licensed version of MATLAB. Sometimes this is "just because that's how we do business", and sometimes it is because the toolbox uses features not present in earlier MATLAB. And part of it is not wanting to support all of the combinations: it gets very time consuming and expensive to run all of the validations against multiple earlier versions of MATLAB.
There are sometimes good reasons to stick with old version of matlab, as regressions might break the existing codebase. Inability to add toolboxes to old versions is quite limiting.

Sign in to comment.


Answer by David Verrelli on 10 Jun 2015
Edited by 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

  0 Comments

Sign in to comment.


Answer by 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

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


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


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


Answer by Fletcher
on 12 Dec 2013
Edited by 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.


Answer by 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

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.


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


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


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


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


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