Quantcast

Documentation Center

  • Trial Software
  • Product Updates

matlab.apputil.getInstalledAppInfo

List installed app information

Syntax

  • matlab.apputil.getInstalledAppInfo example
  • appinfo = matlab.apputil.getInstalledAppInfo example

Description

example

matlab.apputil.getInstalledAppInfo displays the ID and name of all installed custom apps. It does not display this information for apps packaged with MathWorks® products.

example

appinfo = matlab.apputil.getInstalledAppInfo returns structure to appinfo, which includes the status, ID, location, and name of all installed custom apps. It does not return this information for apps packaged with MathWorks products.

Examples

expand all

Display Installed Apps Information in the Command Window

Assume you installed two apps, LinePlotter and PlotRandNumbers. Display the app information in the Command Window.

 matlab.apputil.getInstalledAppInfo
ID                     Name
------------------     ---------------
LinePlotterAPP         LinePlotter
PlotRandNumbersAPP     PlotRandNumbers

Store Installed App Information in a Variable

Assume you installed an app, ColorPalette. Get the app information and store it in a variable, myappinfo.

 myappinfo = matlab.apputil.getInstalledAppInfo;

Store Installed App Information in a Variable and Display IDs

Assume you installed two apps, LinePlotter and PlotRandNumbers. Get and store the app information for both installed apps in a variable, myappinfo. Then, get the id for each app.

myappinfo = matlab.apputil.getInstalledAppInfo
myappinfo = 

1x2 struct array with fields:
    id
    name
    status
    location

Get the id of each installed app:

appids={myappinfo.id}
appids = 

    'LinePlotterAPP'    'PlotRandNumbersAPP'

Output Arguments

expand all

appinfo — Information about installed appsstructure array

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

status — Installation status'installed'

Status of the installation, returned as the string 'installed'.

id — Unique identifier for the installed appstring

Unique identifier for the installed app, returned as a string

The ID is for use when running or uninstalling the app programmatically.

location — Folder where the app is installedstring

Folder where the app is installed, returned as a string

name — Name of the installed appstring

Name of the installed app as it appears in the apps gallery, returned as a string

See Also

| |

Was this topic helpful?