Skip to content
Bart Verleye edited this page Feb 26, 2015 · 69 revisions

Table of Contents

Details

MATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numerical computation. Using MATLAB, you can solve technical computing problems faster than with traditional programming languages, such as C, C++, and Fortran.

You can use MATLAB in a wide range of applications, including signal and image processing, communications, control design, test and measurement, financial modeling and analysis, and computational biology. Add-on toolboxes (collections of special-purpose MATLAB functions) extend the MATLAB environment to solve particular classes of problems in these application areas.

MATLAB provides a number of features for documenting and sharing your work. You can integrate your MATLAB code with other languages and applications, and distribute your MATLAB algorithms and applications.

Usage

Licensing

University of Auckland, Faculty of Science: all versions with FoS

University of Auckland, Faculty of Engineering: all versions with FoE

If you get an error message indicating that no licenses are available for a certain feature, you can use the following command to check the licensing situation. The output will show you the licensing situation for individual features.

As member of the Faculty of Science:

/share/apps/MATLAB/prod/UoA-FoS/R2012a/etc/glnxa64/lmutil lmstat -c /share/apps/MATLAB/prod/UoA-FoS/R2012a/licenses/network.lic -a

As member of the Faculty of Engineering:

/share/apps/MATLAB/prod/UoA-FoE/R2012b/etc/glnxa64/lmutil lmstat -c /share/apps/MATLAB/prod/UoA-FoE/R2012b/licenses/network.lic -a

Example SLURM jobs

example

Job description (download)
#!/bin/bash
#SBATCH -J matlab
#SBATCH -A uoa99999         # Project Account
#SBATCH --time=00:10:00     # Walltime
#SBATCH --mem-per-cpu=2G    # memory/cpu 
#SBATCH --cpus-per-task=5 
#SBATCH --mail-type=ALL
#SBATCH --mail-user=
module load MATLAB/UoA-FoE-R2012b
srun matlab -nodesktop -nosplash -r myLu

Input file(s)
Clone this wiki locally