MATLAB Answers

How can I determine what add-ons I have installed?

1,259 views (last 30 days)
I would like to know what products and other toolboxes are installed into my installation of MATLAB, and also what functions are provided with the toolboxes.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Feb 2020
Edited: MathWorks Support Team on 27 Feb 2020
*Using the Add-On Manager *
*The following answer applies to MATLAB version R2015b or later only. *
View and manage all installed add-ons using the Add-On Manager.
To open the Add-On Manager:
1. In MATLAB, go to the Home tab.
2. Select Add-Ons > Manage Add-Ons.
MATLAB displays a list of MathWorks products, toolboxes, and add-ons installed on your machine.
To view the function list for an add-on:
1. Select the add-on in the Add-On Manager.
2. In the options menu on the right of the add-on, select View in Add-On Explorer. The Functions tab shows the list of functions included with the add-on.
*Using the Command Line *
The following answer applies to MATLAB version R2017b or later only.
To produce a list of installed Community add-ons, use the 'matlab.addons.installedAddons' command:
*The following answer applies to all versions of MATLAB. *
To produce a list of installed MathWorks products and add-ons, use the 'ver' command:
<https://www.mathworks.com/help/matlab/ref/ver.html https://www.mathworks.com/help/matlab/ref/ver.html >
To produce a list of the functions available in MATLAB, use the 'help' function:
<https://www.mathworks.com/help/matlab/ref/help.html https://www.mathworks.com/help/matlab/ref/help.html >

  1 Comment

Eike Petersen
Eike Petersen on 29 Jun 2020
TBH it's really sad that there is no easy programmatic way of checking whether a toolbox is ready to be used, i.e., installed and has a license.

Sign in to comment.

More Answers (2)

Reza Ahmadzadeh
Reza Ahmadzadeh on 29 Jun 2015
To check if you have installed a specific toolbox, you can use the existing function in FileExchange called isToolboxAvailable . The usage is as follows:
result = isToolboxAvailable('image processing toolbox','error');

  3 Comments

Thomas McKay-Smith
Thomas McKay-Smith on 22 Sep 2017
Since R2006a you can use
result = license('test','image processing toolbox')
making isToolboxAvailable somewhat redundant.
Eike Petersen
Eike Petersen on 29 Jun 2020
To reproduce my comments on the FEX page: This works to check if a product is _installed_. It does not check whether a _license_ is available. Either of these may occur without the other being true, so to check whether a toolbox can actually be used, one should check both. Initially, I thought that this could be achieved by adding a simple one-liner after "result = all(ismember(toolboxName,installedToolboxes));":
result = result && license('test', regexprep(toolboxName, ' ', '_'));
Unfortunately, this doesn't work for all toolboxes, because there are some toolboxes for which the relation between the 'Name' and the 'feature name' is more complex. E.g., the 'Statistics and Machine Learning toolbox' has the feature name 'Statistics_Toolbox' (probably for historical reasons). I am not sure if there is a general way to translate one into the other.
Eike Petersen
Eike Petersen on 29 Jun 2020
This FEX submission appears to solve this problem; see my other answer: https://de.mathworks.com/matlabcentral/fileexchange/77275-matlabtoolboxcheck

Sign in to comment.


Eike Petersen
Eike Petersen on 29 Jun 2020
This file exchange submission appears to be a quite comprehensive solution to this problem:
It checks both whether a toolbox is installed and whether a license is available. Works for lists of toolboxes as well.

  0 Comments

Sign in to comment.

Tags

No tags entered yet.

Products


Release

R14SP2

Community Treasure Hunt

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

Start Hunting!