*  Informatique / Matlab / Ubuntu 16.04 LTS : installation of Matlab R2015a to R2018a without GUI

pict pict

We need a valid license for the version we want to install and

We choose to present the installation of the release 2018a. For the other releases, the same principle can be applied. For a console/text mode installation of the release 2018a :

  1. Create the configuration file Matlab_client.cnf adapted to your license. For me its contents is :
    destinationFolder=/usr/local/MATLAB/R2018a  
    fileInstallationKey=<write your installation key here>  
    agreeToLicense=yes  
    mode=silent  
    licensePath=<write path here>/license.dat  
    lmgrFiles=false  
    lmgrService=false  
    # After add your license products  
    product.MATLAB  
    product.MATLAB_Compiler_SDK  
    product.MATLAB_Compiler  
    product.Parallel_Computing_Toolbox

    A list of some Matlab products/Toolboxes is given product.list .

  2. to mount the iso file R2018a_glnxa64_dvd1.iso replace in the following command the <path> by the path of the iso file.
    sudo mkdir -p /mnt/iso
    sudo mount -o loop -t iso9660 <path>/R2016b_glnxa64_dvd1.iso /mnt/iso

  3. The next command lauch Matlab install by using previously created Matlab_client.cnf file.

    sudo /mnt/iso/install -mode silent -inputFile /<full path>/Matlab_client.cnf

  4. unmount the iso file
    sudo umount /mnt/iso

    For other releases of Matlab, we just have to change the destinationFolder in file Matlab_client.cnf and use the corresponding iso file.

Possible problems encountered when running/using Matlab (depend of release) :