[19768] in Athena Bugs

home help back first fref pref prev next nref lref last post

linux 9.0.15: matlab

daemon@ATHENA.MIT.EDU (Brad Thompson)
Sun Sep 9 00:03:09 2001

Message-Id: <200109090403.AAA25451@quiche-lorraine.mit.edu>
To: bugs@MIT.EDU
Date: Sun, 09 Sep 2001 00:03:02 -0400
From: Brad Thompson <yak@MIT.EDU>

System name:		quiche-lorraine.mit.edu
Type and version:	i686 9.0.15 (with mkserv)
Display type:		XFree86 3.3.6a SVGA

Shell:			/bin/athena/bash
Window manager:		unknown

What were you trying to do?
	Run matlab without spawning a new xterm by passing the "-tty"
	flag, and run plotting commands in that matlab instance.

What's wrong:
	The plotting commands returned without error, but did not plot
	anything.  For reference, these specific commands fail silently:

>> x = [1:20];
>> y = sin(x);
>> stem(x,y);


What should have happened:
	The plot/stem should have generated a plot.
	The Right Thing happened under matlab 5.x.

	This appears to be a change in the script that launches matlab, and
	now passes -nodisplay to the matlab binary to avoid getting the java
	desktop.   I get the desired behavior by running:
	  /mit/matlab_v6.1.0/distrib/bin/matlab -nojvm
	I do not think that having a "no X" option is unreasonable,
	but there should be a way to run matlab without its own xterm
	without crippling the plotting functionality.

home help back first fref pref prev next nref lref last post