Installazione MATLAB: differenze tra le versioni

Da MeteOceanWiki.
(Creata pagina con "Download your MATLAB copy from: http://www.csita.unige.it/personalcomputer/licenze/matlab then launch the installation. Specify the path where you want to install. I strong...")
 
 
(2 revisioni intermedie di un utente non mostrate)
Riga 5: Riga 5:
 
then launch the installation. Specify the path where you want to install.
 
then launch the installation. Specify the path where you want to install.
  
I strongly recommend to install MATLAB in /opt/MATLAB/R_you_MATLAB_version
+
I strongly recommend to install MATLAB in /opt/MATLAB/R_your_MATLAB_version
  
 
In this way all users will have access to MATLAB.
 
In this way all users will have access to MATLAB.
  
You can create a symbolic link to MATLAB somewhere. I did not.
+
You can create a symbolic link to MATLAB somewhere. I did not do that.
  
In order to launch MATLAB from terminal I added in .bashrc the following alias.
+
In order to launch MATLAB from terminal I added in .bashrc the following alias:
  
 
alias matlab='/opt/MATLAB/R2016b/bin/./matlab -softwareopengl'
 
alias matlab='/opt/MATLAB/R2016b/bin/./matlab -softwareopengl'

Versione attuale delle 10:13, 23 feb 2017

Download your MATLAB copy from:

http://www.csita.unige.it/personalcomputer/licenze/matlab

then launch the installation. Specify the path where you want to install.

I strongly recommend to install MATLAB in /opt/MATLAB/R_your_MATLAB_version

In this way all users will have access to MATLAB.

You can create a symbolic link to MATLAB somewhere. I did not do that.

In order to launch MATLAB from terminal I added in .bashrc the following alias:

alias matlab='/opt/MATLAB/R2016b/bin/./matlab -softwareopengl'

The flag -softwareopengl solves some issues encountered on the latest (January 2017) distributions of Fedora, OpenSUSE and ubuntu. In this way you tell MATLAB to use OpenGL libraries shipped with MATLAB itself.

Maybe in a couple of months you will not need to do this trick. Note that graphical performance (time elapsed to plot on screen) could be degraded.