Borrar filtros
Borrar filtros

how to change matlabroot on ubuntu 12.04

9 visualizaciones (últimos 30 días)
Octavian
Octavian el 2 de Dic. de 2013
Respondida: Tony Evans el 12 de Abr. de 2019
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

Respuestas (1)

Tony Evans
Tony Evans el 12 de Abr. de 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.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by