Uninstalling multiple toolboxes using matlab.addons.uninstall command

30 vues (au cours des 30 derniers jours)
Mohammad Alsalti
Mohammad Alsalti le 30 Sep 2021
Commenté : Farooq le 5 Mar 2025
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!

Réponse acceptée

NMani
NMani le 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.
  2 commentaires
Farooq
Farooq le 5 Mar 2025
I attempted this for MATLAB 2024b but it only gave the option to uninstall the entire product.
How can multiple toolboxes be removed from MATLAB 2024b and perhaps later version?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by