How can I silently uninstall Matlab R2024b

33 views (last 30 days)
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.

Accepted Answer

Shantanu Dixit
Shantanu Dixit on 29 Apr 2025
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 Comment
René
René on 29 Apr 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!