xxxxxxxxxx
# Shut down the license manager:
/usr/local/MATLAB/R2010b/etc/lmdown
# Remove all license manager files
rm /var/tmp/lm_TMW*
# Remove the entire root MATLAB directory
rm -rf /usr/local/MATLAB/R2010b
# Remove any symlinks to MATLAB binaries
rm /usr/local/bin/matlab /usr/local/bin/mcc /usr/local/bin/mex /usr/local/bin/mbuild