how to change matlabroot on ubuntu 12.04
19 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear All,
I have 2012b installed and working on my ubuntu 12.04 box, I just downloaded and installed the 2013b version, 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?
Thank you,
Octavian
0 Kommentare
Antworten (1)
Tony Evans
am 12 Apr. 2019
If you have more than one version of Matlab installed, and you want the newer one to run I would change the symbolic link instead.
Open a terminal window and go to
/usr/local/bin folder
remove the old symbolic link with
sudo rm matlab
Create a new symbolic link to your newer version of Matlab. In my system it is located in /usr/local/R2016a (on yours it is /usr/local/MATLAB/R2013b) .
sudo ln -s /usr/local/R2016a/bin/matlab matlab
Now when you run matlab from the terminal, it should open the newer version.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!