Matlab-interactive
From FarmShare
interactive matlab
This is the "regular" way to use it, it pops up a GUI.
ssh -X corn.stanford.edu module load matlab matlab
If your X11 forwarding is configured correctly, it will pop up the MATLAB gui on your display.
If you don't have X11 forwarding enabled, you'll get an error message like this:
Warning: No display specified. You will not be able to display graphics on the screen.
and then you get the cli interface.
If you want the cli interface, just use 'matlab -nodesktop'.
If you want a single-threaded matlab, use something like
matlab -nosplash -nodesktop -nodisplay -singleCompThread