Why are my add-ons and toolboxes not uninstallable?

28 vues (au cours des 30 derniers jours)
CI Agent
CI Agent le 15 Fév 2023
I've been following the documentation to uninstall some toolboxes/add-ons from the MATLAB infrastructure I manage.
Initially, I used matlab.addons.installedAddons which returned two values as expected - "MATLAB Coder" and "Signal Processing Toolbox". When I then ran matlab.addons.disableAddon or matlab.addons.uninstall I was presented with the error "not supported for MathWorks products, MathWorks toolboxes, or support packages".
I then tried using matlab.addons.toolbox.installedToolboxes with a view to using matlab.addons.toolbox.uninstallToolbox, however the first command returns empty values so I can't uninstall using that method.
I'm completely limited to the command line (ubuntu 20.04) so I can't open matlab and uninstall from the UI unfortunately. I feel that this may be a bug as I don't see how my products don't fall under either the add-on or toolbox banner, but I'd be grateful for the thoughts and advice of the community. My MATLAB version is r2021a.
  1 commentaire
Matthew DiBello
Matthew DiBello le 16 Fév 2023
Please reach out to our Technical Support team for assistance with this issue:
https://www.mathworks.com/support/contact_us.html

Connectez-vous pour commenter.

Réponses (1)

Shuba Nandini
Shuba Nandini le 28 Fév 2023
Hello,
I understand that you are having trouble uninstalling the add-ons and toolboxes.
Here are the few steps that you can follow for uninstalling MATLAB add-ons and toolboxes:
  • To uninstall a Toolbox: Use this command.
matlab.addons.uninstall(Toolbox Name);
  • To uninstall a Specific version of Toolbox: Use this command.
matlab.addons.uninstall(Toolbox Name, version number);
  • To uninstall an add-on: Use this command.
matlab.addons.uninstall(name);
Please refer the documentation link below for uninstalling MATLAB addons and toolboxes:
Thanks
  2 commentaires
Trong Lam
Trong Lam le 6 Nov 2024
Modifié(e) : Trong Lam le 6 Nov 2024
I also could not uninstall Matlab Toolbox (tried twice using GUI and the uninstall finished but as Matlab restarted, the Toolbox was still there).
Your instruction did not work.
>> matlab.addons.uninstall("Deep Learning Toolbox");
Error using matlab.addons.uninstall (line 106)
Using matlab.addons.uninstall to uninstall MathWorks products and support packages is not supported.
Benjamin Gabrielson
Benjamin Gabrielson le 28 Mai 2025
Modifié(e) : Walter Roberson le 28 Mai 2025
I'm facing the same issue. As noted by Trong, when I try to uninstall a given addon, I recieve the error:
>> matlab.addons.enableAddon("DM")
Error using enableAddonWithNameOrIdentifierAndVersion (line 96)
Enable/Disable not supported for MathWorks products, MathWorks toolboxes, or support packages.
Error in
matlab.addons.enableAddon (line 44)
enableAddonWithNameOrIdentifierAndVersion(NameOrIdentifier);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The error is vague and apparently this is the only thread I could find online that even mentions this error... it would be great if a matlab representative gave this issue a closer look...

Connectez-vous pour commenter.

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by