matlab.addons.uninstall(___,version)
also specifies the version of the add-on to uninstall. Use this syntax with any
of the arguments in previous syntaxes.
Suppose that you have a toolbox called Random File Name Creator installed on your
system. Get the list of installed add-ons and uninstall the Random File Name Creator toolbox.
Get the list of installed add-ons.
addons = matlab.addons.installedAddons
addons =
1×4 table
Name Version Enabled Identifier
___________________________ _________ _______ ______________________________________
"Random File Name Creator" "1.0" true "75442144-f751-4011-bf0e-32b6fb2f1433"
Uninstall the Random File Name
Creator toolbox.
matlab.addons.uninstall('Random File Name Creator');
Uninstall Specific Version of Toolbox
Suppose that you have version 2.0 and
version 4.0 of a toolbox called My Toolbox installed on your system. After working with version
4.0, you decide that you no longer need version
2.0 and want to uninstall it.
Get the list of installed add-ons.
addons = matlab.addons.installedAddons
addons =
2×4 table
Name Version Enabled Identifier
___________________________ _________ _______ ______________________________________
"My Toolbox_v4.0" "4.0" false "6de8682e-9c3c-407e-bad7-aa103d738d08"
"My Toolbox" "2.0" true "6de8682e-9c3c-407e-bad7-aa103d738d08"
Uninstall My Toolbox version
2.0 and confirm that it is uninstalled.
Suppose that you have version 2.0 and
version 4.0 of a toolbox called My Toolbox installed on your system. You decide that you no
longer need My Toolbox and want to
uninstall all versions of the toolbox.
Get the list of installed add-ons.
addons = matlab.addons.installedAddons
addons =
2×4 table
Name Version Enabled Identifier
___________________________ _________ _______ ______________________________________
"My Toolbox_v4.0" "4.0" true "6de8682e-9c3c-407e-bad7-aa103d738d08"
"My Toolbox" "2.0" false "6de8682e-9c3c-407e-bad7-aa103d738d08"
Name of the add-on that you want to uninstall, specified as a character
vector or string. To determine the name of an add-on, use the
matlab.addons.installedAddons function.
identifier — Unique identifier of add-on character vector | string
Unique identifier of the add-on that you want to uninstall, specified as a
character vector or string. To determine the unique identifier of an add-on,
use the matlab.addons.installedAddons function.
version — Version of add-on character vector | string
Version of the add-on that you want to uninstall, specified as a character
vector or string. To determine the version of an add-on, use the
matlab.addons.installedAddons function.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.