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.

 Risposta accettata

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 Commento

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.

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Release

R2024b

Richiesto:

il 25 Apr 2025

Commentato:

il 29 Apr 2025

Community Treasure Hunt

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

Start Hunting!

Translated by