Main Content

matlab.apputil.uninstall

Description

example

matlab.apputil.uninstall(appid) removes the app specified by the unique identifier, appid. MATLAB® removes all files corresponding to the app and removes the app from the app gallery.

Examples

collapse all

Assume you previously installed two apps, setslider and simplegui. Get the IDs of all installed apps, and then use the ID for simplegui to uninstall it.

View the IDs of all apps

matlab.apputil.getInstalledAppInfo
ID                      Name
-------------------     ----------------
setsliderAPP            setslider
simpleguiAPP            simplegui

Uninstall the simplegui app.

matlab.apputil.uninstall('simpleguiAPP')

Confirm the app was removed, by running matlab.apputil.getInstalledAppInfo again.

matlab.apputil.getInstalledAppInfo
ID                      Name
-------------------     ----------------
setsliderAPP            setslider

Input Arguments

collapse all

ID of app to be uninstalled, specified as a character vector or string scalar.

Example: 'DataExplorationAPP'

Example: "DataExplorationAPP"

Tips

Version History

Introduced in R2012b