How to Run MATLAB

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.