MATLAB® is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numeric computation. 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.
Previously, using MATLAB required a user-supplied license (and a lot of effort) to run on our systems. CAC now has an academic license for MATLAB provided by Queen's University.
- Version: R2017a
- Related link: For more information go to the MATLAB web site
- Statement: Necessary for accessing the software
Send a signed MATLAB usage statement form to firstname.lastname@example.org. This will add you to the
matlab group that allows access to the software. To check if you have been authorized access, type
groups while logged on to the system. If
matlab appears in the output, you are ready to go!
To load MATLAB to your current environment on the SW cluster, use the command
use matlab (
module load matlab on the Frontenac cluster). If your SSH client supports X-forwarding (and you have logged in using X-forwarding using
ssh -X, you can bring up the MATLAB user interface with the command
To run MATLAB non-interactively (such as when running a script or submitting a job to the cluster), use the command
matlab -nodisplay < name_of_your_script.m
An example of a MATLAB job is shown below:
#!/bin/bash #$ -q abaqus.q #$ -cwd #$ -V # replace "X" with the number of processors requested #$ -pe shm.pe X # replace "Y" with the amount of memory requested (in GB) #$ -l mf=YG use matlab matlab -nodisplay < name_of_matlab_script.m