Matlab-interactive

From FarmShare

(Difference between revisions)
Jump to: navigation, search
Line 24: Line 24:
=== interactive matlab via VNC - GUI ===
=== interactive matlab via VNC - GUI ===
 +
 +
If you setup a VNC session as described [[FarmVNC|here]] you can run run matlab in a full desktop environment.  This has the advantage that you can connect and disconnect at will without disturbing your running matlab.
 +
 +
[[Image:runmatlabcorn1.png|frame]]
 +
 +
You can also run matlab on rye02 to get accelerated graphics and CUDA.  In my testing I have not noticed very impressive graphics performance from matlab so YMMV.
 +
 +
[[Image:runmatlabrye1.png|frame]]

Revision as of 11:44, 28 November 2013

Contents

interactive matlab

interactive matlab via X11 tunnel - GUI (mac/linux)

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.

interactive matlab - CLI

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

interactive matlab via VNC - GUI

If you setup a VNC session as described here you can run run matlab in a full desktop environment. This has the advantage that you can connect and disconnect at will without disturbing your running matlab.

Runmatlabcorn1.png

You can also run matlab on rye02 to get accelerated graphics and CUDA. In my testing I have not noticed very impressive graphics performance from matlab so YMMV.

Runmatlabrye1.png
Personal tools
Toolbox
LANGUAGES