MATLAB: How to uninstall MATLAB or other MathWorks products on a Linux machine

MATLAB

I would like to uninstall MATLAB or other MathWorks Products on or Linux machine.

Best Answer

There is no uninstaller for MathWorks products on Linux. To remove MATLAB, you simply need to delete the MATLAB installation following the instructions below:
1. Remove the entire root directory using the 'rm -rf' command, ex:
[root@localhost ~] rm -rf /usr/local/MATLAB/R2010b
2. Remove any symlinks to binaries on the path, ex:
[root@localhost ~] rm /usr/local/bin/matlab /usr/local/bin/mcc /usr/local/bin/mex /usr/local/bin/mbuild