Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

matlab.addons.toolbox.installedToolboxes

Return information about installed toolboxes

Syntax

toolboxes = matlab.addons.toolbox.installedToolboxes

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

Alternatives

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

Introduced in R2016a

Was this topic helpful?