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

collapse all

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

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

 myappinfo = matlab.apputil.getInstalledAppInfo;

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

collapse all

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 of the installation, returned as 'installed'.

Unique identifier for the installed app, returned as a character vector.

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

Folder where the app is installed, returned as a character vector.

Name of the installed app as it appears in the apps gallery, returned as a character vector.

Introduced in R2012b

Was this topic helpful?