How to Run MATLAB

Summary

This article explains how to run MATLAB on the WSU Grid using an interactive job session. Users must first install and launch an X window system (such as Xming for Windows or X11 for Mac/Linux).

Body

Follow these steps to run MATLAB on the Grid.

Note: GUI users: Please follow the tutorial to run MATLAB OnDemand. You will need to download an X window system. If you are using Unix, Linux, or OSX you can use X11. Follow the steps in the X11 Tutorial, then pick up here in this tutorial. For Windows users, you can download Xming.

 

Step 1

Launch Xming when the installation finishes. The application won't open a window, it will simply run in the background.

Step 2

Log in to the Grid.

Step 3

Submit an interactive job: srun -q primary -N 1 -n 8 --mem 4G -t 10:00:00 --pty bash.

Step 4

Type module load matlab.

Step 5

Enter matlab.

Step 6

You are now running MATLAB.

 

Details

Details

Article ID: 20215
Created
Wed 7/16/25 11:12 AM
Modified
Wed 11/19/25 2:17 PM