Uninstalling multiple toolboxes using matlab.addons.uninstall command

50 views (last 30 days)
Hello!
I am trying to uninstall several toolboxes that are just taking too much space. If I use the add-on manager, I can only uinstall one by one since the uninstaller has to close Matlab before uninstalling the selected toolbox. I found this command: matlab.addons.uninstall. However, it throws the following error:
Error using matlab.addons.uninstall (line 113)
Unable to uninstall add-ons of type product. Add-on must be a toolbox.
Although I am trying to uninstall a toolbox ("Vehicle Network Toolbox").
Thanks for your help!

Accepted Answer

NMani
NMani on 4 Oct 2021
Using the matlab.addons.uninstall command may not help because the toolboxes that are selected for installation while running the MATLAB installer are considered to be part of the product.
You can uninstall multiple toolboxes via the uninstaller. The MATLAB uninstaller is only available on Windows. To launch the uninstaller, open the Control Panel and open "Programs and Features." Locate MATLAB in the list of available programs, select it, and click Uninstall. The MATLAB uninstaller will then launch; here, check the boxes for products you wish to uninstall, and uncheck the boxes for products you wish to keep. Click the "Uninstall" button to uninstall the toolboxes you wish to remove.

More Answers (0)

Categories

Find more on Install Products in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!