How can I silently uninstall Matlab R2024b

When I uninstall Matlab R2024b with "MathWorksProductUninstaller.exe" and the option "--mode silent", the toolboxes and preferences are not removed.
Is there an extra option that can be added to the commandline?
When you run "MathWorksProductUninstaller.exe" normal, you get the optie to select the removal of the toolboxes and preferences.

 Réponse acceptée

Hi Rene,
As per the R2024b documentation: https://www.mathworks.com/help/install/ug/uninstall-matlab-toolboxes-and-support-packages.html all toolboxes and products are also uninstalled upon uninstalling MATLAB. However some support packages and other optional features may remain installed in support package root folder. You can manually delete the folder located at:
% Windows: C:\ProgramData\MATLAB\SupportPackages\R20XXy
% Linux® — /home/$USER/Documents/MATLAB/SupportPackages/R20XXy
% macOS — /Users/$USER/Documents/MATLAB/SupportPackages/R20XXy
Hope this helps

1 commentaire

René
René le 29 Avr 2025
Thx for the reply.
I was hoping for a cleaner silent uninstall, but I will do a unistall script that will delete the folders after the uninstaller.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by