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.


Documentation

 

 

MATLAB is available on Bridges for academic users. 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.

Academic users must complete the MATLAB Request form to request access to MATLAB. Once access has been granted, follow the steps below.

 

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.

 

MATLAB is available on Greenfield for academic users.  If you are not an academic user send email to This email address is being protected from spambots. You need JavaScript enabled to view it. to discuss how you can get access to MATLAB at the PSC.

 

Follow these steps if you are an academic user.  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.