MATLAB Answers

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

조회 수: 18,718(최근 30일)
MathWorks Support Team
MathWorks Support Team 2013년 10월 11일
댓글: Walter Roberson 2021년 10월 8일 1:52
New toolboxes have just been added to my license. How do I install additional toolboxes into an existing installation of MATLAB?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 7월 23일
편집: MathWorks Support Team 2021년 7월 23일
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: How can I install MATLAB or other MathWorks products on an offline machine?
  댓글 수: 11
Walter Roberson
Walter Roberson 2021년 10월 8일 1:52
ver will tell you whether something is installed (but not whether it is licensed)
Control System Toolbox is generally available for R2021a -- I have it installed.

댓글을 달려면 로그인하십시오.

추가 답변(16개)

Walter Roberson
Walter Roberson 2019년 2월 17일
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.
  댓글 수: 14
Mauro Maggioni
Mauro Maggioni 2021년 8월 26일
it appears you have to install each additional add-on one at a time...restarting matlab...repeat till you add all the add-ons you need....

댓글을 달려면 로그인하십시오.


David Verrelli
David Verrelli 2015년 6월 10일
편집: MathWorks Support Team 2021년 2월 17일
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
Colin Fraser
Colin Fraser 2019년 8월 14일
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.

댓글을 달려면 로그인하십시오.


B K
B K 2015년 4월 30일
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
hammad hamad
hammad hamad 2020년 11월 21일
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,,

댓글을 달려면 로그인하십시오.


Prasobhkumar P. P.
Prasobhkumar P. P. 2017년 1월 13일
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 2015년 11월 17일
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

Anil Kumar
Anil Kumar 2020년 2월 7일
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,
  댓글 수: 1
salah SALEM
salah SALEM 2021년 2월 10일
please how to add useful ones in matlab like hmm and n gram matlab 2015

댓글을 달려면 로그인하십시오.


salah SALEM
salah SALEM 2021년 2월 10일
please how to add useful ones in matlab like hmm and n gram
  댓글 수: 2
Walter Roberson
Walter Roberson 2021년 2월 11일
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.

댓글을 달려면 로그인하십시오.


Fletcher
Fletcher 2013년 12월 12일
편집: Walter Roberson 2017년 1월 13일
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 2015년 4월 29일
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
Walter Roberson
Walter Roberson 2015년 6월 10일
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.

댓글을 달려면 로그인하십시오.


Jeremy Rutman
Jeremy Rutman 2015년 12월 26일
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 2017년 12월 4일
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 2018년 3월 23일
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 2018년 3월 23일
편집: MathWorks Support Team 2021년 2월 17일
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 2018년 5월 17일
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 2018년 12월 24일
편집: Mikhail 2018년 12월 24일
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
Walter Roberson
Walter Roberson 2019년 1월 14일
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.

댓글을 달려면 로그인하십시오.


Muhammad Usman Gul
Muhammad Usman Gul 2019년 9월 26일
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
Walter Roberson
Walter Roberson 2019년 9월 26일
"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.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by