Matlab

Matlab is installed on s15 and on wombat. Fairly recent sources to install matlab on your desktop computer are usually located under s15.fluid.tuwien.ac.at/home/E322/Software/Matlab.

Installation under Linux / MacOS

Matlab can be installed by mounting the folder /home/E322/Software/Matlab/Linux/v?.?_rel20??? to the local machine. Alternatively, copy the entire Direct_Install folder or the archive lux.tar to your local machine.

Two informations are necessary for installation,

Navigate to the Direct_Install folder and, if a graphical user interface is available, execute ./install.

By default, all toolboxes and the entire Simulink program is installed. To save space, unselect unneeded components.

If a graphical user interface is not available, copy the instructions below and paste them to a command line. The instructions below will install the matlab files below /usr/local/share/MATLAB/R20??/ and will create the symbolic links deploytool matlab mbuild mcc and mex in /usr/local/bin. The symbolic link mcc may belong to matlab or to mathematica.

Mount the Direct_Install folder:

cd ~
sudo mkdir /mnt/s15
sudo mount.davfs "https://s15.fluid.tuwien.ac.at/E322/Software/Matlab/Linux/v9.2_rel2017a" /mnt/s15
cd /mnt/s15/Direct_Install

Create an input file for batch installation, and install:

echo -n 'destinationFolder=/usr/local/share/MATLAB/' >/tmp/input
head -1 version.txt >>/tmp/input
echo -n 'fileInstallationKey=' >>/tmp/input
grep '[0-9-]\{119\}' ../Read_TU.txt >>/tmp/input
cat >>/tmp/input <<EOF
agreeToLicense=yes
outputFile=/tmp/matlabinstall.log
# mode=automatic or mode=interactive, if a GUI is available
mode=silent
licensePath=/mnt/s15/network.lic
product.Aerospace_Toolbox
product.Curve_Fitting_Toolbox
product.Global_Optimization_Toolbox
product.Image_Acquisition_Toolbox
product.Image_Processing_Toolbox
product.MATLAB
product.MATLAB_Coder
product.MATLAB_Compiler
product.MATLAB_Compiler_SDK
product.MATLAB_Report_Generator
product.Optimization_Toolbox
product.Parallel_Computing_Toolbox
product.Partial_Differential_Equation_Toolbox
product.Signal_Processing_Toolbox
product.Statistics_and_Machine_Learning_Toolbox
product.Symbolic_Math_Toolbox
product.Wavelet_Toolbox
EOF
sudo ./install -inputfile /tmp/input

Clean up.

rm /tmp/input /tmp/matlabinstall.log
rm -r /tmp/mathworks_*
umount /mnt/s15
sudo rmdir /mnt/s15

Deinstallation

Remove the installation directory, e.g, /usr/local/share/MATLAB/R20?? and the symbolic links deploytool matlab mbuild mcc and mex in /usr/local/bin.