Matlab-interactive

From FarmShare

(Difference between revisions)
Jump to: navigation, search
(Created page with "== interactive matlab == This is the "regular" way to use it, it pops up a GUI. <source lang="sh"> ssh -X corn.stanford.edu module load matlab matlab </source> If your X11 forw...")
Line 1: Line 1:
== interactive matlab ==
== interactive matlab ==
 +
 +
=== interactive matlab via X11 tunnel - GUI (mac/linux) ===
This is the "regular" way to use it, it pops up a GUI.
This is the "regular" way to use it, it pops up a GUI.
Line 13: Line 15:
   Warning: No display specified.  You will not be able to display graphics on the screen.
   Warning: No display specified.  You will not be able to display graphics on the screen.
and then you get the cli interface.
and then you get the cli interface.
 +
 +
=== interactive matlab - CLI ===
If you want the cli interface, just use 'matlab -nodesktop'.
If you want the cli interface, just use 'matlab -nodesktop'.
Line 18: Line 22:
If you want a single-threaded matlab, use something like
If you want a single-threaded matlab, use something like
   matlab -nosplash -nodesktop -nodisplay -singleCompThread
   matlab -nosplash -nodesktop -nodisplay -singleCompThread
 +
 +
=== interactive matlab via VNC - GUI ===

Revision as of 11:36, 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

Personal tools
Toolbox
LANGUAGES