Pittsburgh Supercomputing Center 

Advancing the state-of-the-art in high-performance computing,
communications and data analytics.

MATLAB 

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

MATLAB is available on PSC systems for academic users.   Academic users must complete the MATLAB Request form to request access to MATLAB. Once access has been granted, follow the steps below.

Non-academic users should contact This email address is being protected from spambots. You need JavaScript enabled to view it. to discuss how they can get access to MATLAB at PSC.

Documentation

 

Usage

  • Bridges

  • Greenfield

 

 

Include the commands in your job script or type them after starting an interactive session.

Load the MATLAB module

To load the default MATLAB module

module load matlab

(Optional) To see which versions of MATLAB are available

module avail matlab

(Optional) To load a non-default version, if more than one is available, use its full name, e.g.,

module load matlab/R2015a

 

Run MATLAB

You can run your MATLAB job on as many cores as the node has on which you are running. Use a command like

matlab -options   < input-file  > output-file

(Optional) See what toolkits are available

Once you have started MATLAB, typing

ver

lists all the installed toolkits.  PSC has the PCT toolkit, which is how you can run parallel MATLAB jobs. This command also gives information on your license number, operating system, Java version, etc., which may be useful in diagnosing problems.

 

Include these commands in your job script or type them after starting an interactive session.

Load the MATLAB module

To load the default MATLAB module

module load matlab

(Optional) To see which versions of MATLAB are available

module avail matlab

(Optional) To load a non-default version, if more than one is available, use its full name, e.g.,

module load matlab/R2015a

 

Run MATLAB

You can run your MATLAB job on as many cores as the node has on which you are running. Use a command like

matlab -options   < input-file  > output-file

(Optional) See what toolkits are available

Once you have started MATLAB, typing

ver

lists all the installed toolkits.  PSC has the PCT toolkit, which is how you can run parallel MATLAB jobs. This command also gives information on your license number, operating system, Java version, etc., which may be useful in diagnosing problems.