Main Content

matlab.addons.toolbox.installedToolboxes

Return information about installed toolboxes

Description

example

toolboxes = matlab.addons.toolbox.installedToolboxes returns a structure array containing information about the installed toolboxes. The structure array does not include information about MathWorks® toolboxes.

Examples

collapse all

Assume that you previously installed two toolboxes, myToolbox and myOtherToolbox. Store information about these toolboxes in a variable.

toolboxes = matlab.addons.toolbox.installedToolboxes
toolboxes = 

1x2 struct array with fields:

    Name
    Version
    Guid

Use struct2table to format this stored information as a readable table.

struct2table(toolboxes)
ans = 

          Name          Version                     Guid                 
    ________________    _______    ______________________________________

    'myToolbox'         '1.5.2'    'd0169b4a-fe74-463f-981a-26160c94cbe5'
    'myOtherToolbox'    '1.0'      '1deb72c1-725f-4e1b-a1a7-dcc8e75453bb'

Output Arguments

collapse all

Information about installed toolboxes, returned as a structure array with one element for each installed toolbox. Each element of the structure array has the following fields.

FieldDescription
NameName of the toolbox
VersionToolbox version
GuidUnique toolbox identifier

Tips

  • To view information about MathWorks toolboxes, see license.

Alternatives

You can query your installed toolboxes from the Add-On Manager UI. For more information, see Get and Manage Add-Ons.

Version History

Introduced in R2016a