MATLAB is a high-level language and interactive environment that enables you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.

Accessing the Software

In order to use MATLAB, you need to raise a request to our servicedesk specifying that you wish to be included in the matlab  group. This software is licensed for academic use only. Users must have access to a valid institutional MATLAB license.


Usage

Matlab code can be executed on the terminal as follows: 

module load 2024
module load MATLAB/2024b


matlab -batch matlabprogram

On the interactive nodes MATLAB should only be used for quick checks and tests. For intensive computations submit a job to the scheduler.

Job example

An example of a typical Slurm job running a MATLAB program:

#SBATCH --ntasks 32 
#SBATCH -t 00:30:00
#SBATCH -p rome

module load 2024
module load MATLAB/R2024b
 
matlab -batch matlabprogram

More information on MATLAB

http://www.mathworks.com/products/matlab




  • No labels