CSS Labs

Running matlab from home

Running matlab from home

All the UW1-320 Lab machines have Matlab software installed. To start Matlab while sitting at a lab machine, type 'matlab' at a shell prompt or select the Matlab menu item under the Programs | Applications menu.

It is possible to run Matlab from home, either with an X server (by 'tunnelling' X command through SSH), or purely with the command line.

If you have X Server software installed on your home machine, first start the X server, make sure that your SSH client is configured to 'tunnel' X, and then start matlab from the ssh command line.

i.e. $ matlab &

(add the ampersand in order to get your shell prompt back, otherwise the shell will wait for matlab to exit.)

If you do not have X server software, then start matlab with a command line interface. Type ..

$ matlab -nojvm -nodisplay -nosplash

note: NO ampersand...

You will get a display similar to this...

$ matlab -nojvm -nodisplay -nosplash

X connection to localhost:10.0 broken (explicit kill or server shutdown).

< M A T L A B >
Copyright 1984-2002 The MathWorks, Inc.
Version 6.5.0.180913a Release 13
Jun 18 2002

Using Toolbox Path Cache. Type "help toolbox_path_cache" for more info.

To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.

>>

The ">>" prompt is the matlab prompt. As the text splash suggests, type "help" at the >> prompt, and you can get started.

The command line matlab has all the mathematical capabilities of the windowed version, without the colors...