MATLAB 2023b-r6

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 MATLAB 2023b-r6

To load the module for MATLAB 2023b-r6 please use this command on the BEAR systems (BlueBEAR and BEAR Cloud VMs):

📋 module load bear-apps/2022b
module load MATLAB/2023b-r6

BEAR Apps Version




The listed architectures consist of two part: OS-CPU. The OS used is represented by EL and there are several different processor (CPU) types available on BlueBEAR. More information about the processor types on BlueBEAR is available on the BlueBEAR Job Submission page.

Running MATLAB on BlueBEAR Login Nodes

Attempts to run Matlab on a login node will lead to a licensing error, probably including one of these messages:

  • License checkout failed.
    License Manager Error -38
    The user/host has been excluded from MATLAB in the options file on the license server.
    Contact your License Administrator to review the Options File.
  • License checkout failed.
    License Manager Error -96
    Unable to connect to the license server.
    Make sure that the client machine can communicate with the hostname listed in the SERVER line of the license file, and that the port listed in the SERVER line is not blocked by a firewall.

MATLAB Toolboxes

MATLAB on BEAR includes a suite of toolboxes provided by MathWorks.

The full list of installed toolboxes can be accessed by running the following command from within MATLAB:


Parallel MATLAB Jobs

To start a parallel pool of workers with the resources requested on a node use: pc = parcluster('local')
pc.JobStorageLocation = getenv('TMPDIR')
parpool(pc, str2num(getenv('SLURM_TASKS_PER_NODE')))

This sets up a MATLAB parallel pool of the size of the cores available and sets the job information location to a temporary directory, to stop multiple job from conflicting with each other. Before starting MATLAB you should create a per-job temporary directory to use - so that the parallel pool temporary files do not conflict with other jobs.

More Information

For more information visit the MATLAB website.


This version of MATLAB has a direct dependency on: alsa-lib/1.2.10

Other Versions

These versions of MATLAB are available on the BEAR systems (BlueBEAR and BEAR Cloud VMs). These will be retained in accordance with our Applications Support and Retention Policy.

Version BEAR Apps Version
2022a 2021a
2022a 2021b
2021b 2020b
2020a 2019b
2019b 2019a

Last modified on 5th February 2024