Can I uninstall specific MATLAB toolboxes on Linux or Unix?

I would like to remove the installation of a toolbox in a convenient way.
rm -rf $MATLAB
removes the entire installation, but I would like to have a simplified option to remove specific toolboxes.

 Accepted Answer

To uninstall MATLAB on UNIX or Linux, use the following command:
rm -r $MATLABROOT
where $MATLABROOT is your root MATLAB directory.
To remove a toolbox, remove all files the toolbox directory with the command:
rm -r $MATLABROOT/toolbox/<toolbox_name>
You may also want to remove the corresponding INCREMENT line in the license file. This file can be found in MATLAB's "etc" directory. Open this with a text editor (vi, pico, etc), locate the INCREMENT line that refers to the toolbox in question, and remove that section.

More Answers (0)

Categories

Products

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!