MATLAB 2020a

There is a newer version of MATLAB

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 2020a

To load the module for MATLAB 2020a please use this command on the BEAR systems (BlueBEAR, BEARCloud VMs, and CaStLeS VMs):

module load MATLAB/2020a

BEAR Apps Version


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.4 Java/1.8

Required By

This version of MATLAB is a direct dependent of: Dynare/4.6.3-foss-2019b

Other Versions

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

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

Last modified on 13th May 2020