Disable Installed Addons in MATLAB

Matlab Addons are packages / toolboxes that can be installed into Matlab. Addons may come from the Mathworks or third-party developers. One can disable non-Mathworks addons to ensure that the project code works as expected in diverse environments.

Check Matlab Addon packages installed:

addons = matlab.addons.installedAddons;

disp(addons)

Disable a non-Mathworks addon by the matlab.addons.disableAddon function. It isn’t possible to disable Mathworks addons; the following results:

Enable/Disable not supported for MathWorks products, MathWorks toolboxes, or support packages.

Check logical status of the addon:

matlab.addons.isAddonEnabled("MyCustomAddon")