Skip to main content

MATLAB

MatLab runs as a Singularity container.

Loading Matlab

MatLab is available as a module on Elja:

$ ml use /hpcapps/lib-matlab/modules/all
$ ml load Matlab

Running MatLab

To run MatLab use the matlab command.

note

You will need to enter an Interactive Session or run a Batch job to run MatLab.

Activating your license on Elja

$ srun --job-name "Matlab Job" --partition any_cpu --cpus-per-task 24 --mem-per-cpu 3900 --time 02:00:00 --pty bash
$ matlab

MATLAB is selecting SOFTWARE rendering.

< M A T L A B (R) >
Copyright 1984-2024 The MathWorks, Inc.
R2024a Update 6 (24.1.0.2689473) 64-bit (glnxa64)
July 29, 2024


To get started, type doc.
For product information, visit www.mathworks.com.
note

When done, type exit to close Matlab, Ctrl+c causes input/output errors.