List installed app information
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.
Assume you installed two apps, LinePlotter and PlotRandNumbers. Display the app information in the Command Window.
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 = 'LinePlotterAPP' 'PlotRandNumbersAPP'
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 the string 'installed'.
Unique identifier for the installed app, returned as a string
The ID is for use when running or uninstalling the app programmatically.
Folder where the app is installed, returned as a string
Name of the installed app as it appears in the apps gallery, returned as a string