Install app from a
appinfo = matlab.apputil.install(appfile)
Assume you have downloaded an app from File
EmployeeData. Install it and return
information about the installation to the variable
Later, if you decide to deinstall the app programmatically, you have
the app id required to do so.
appinfo = matlab.apputil.install... ('C:\myguis\myapps\EmployeeData.mlappinstall')
appinfo = id: 'EmployeeDataApp' name: 'EmployeeData' status: 'installed' location: 'C:\myguis\myapps\EmployeeData.mlappinstall'
appfile— Full or partial path to
Full or partial path of the app file you want to install, specified as a character vector or string scalar.
appinfo— Information about installed app
Information about the installed app, returned as a structure with the fields:
status— Installation status
Installation status, returned as one of the following:
'installed' — New app is
'updated' — Previously installed
app is updated.
id— Unique identifier
Unique identifier for the installed app, returned as a character vector.
The ID is for use when running or uninstalling the app programmatically.
location— Folder where app is installed
Folder where app is installed, returned as a character vector.
name— Name of installed app
Name of installed app as it appears in the apps gallery, returned as a character vector.