I have matlab 2012b installed and working on my ubuntu 12.04 box, I just downloaded, installed, and activated the 2013b version using the GUI defaults under root priviledges, but when I start matlab from the command line, the old 2012b version pops up.
How do I change matlab root from /usr/local/MATLAB/R2012b to /usr/local/MATLAB/R2013b, and delete the 2012b version, so when I type matlab in the terminal command line R2013B pops up?
(I see that in the /usr/local/bin there is a matlab file and mex file, the latter referring to the 2012b version, but it is read only).