Hi, everybody

I'm using matlab to process data read from serial port. and now I have set up the matlab environment according to tutorial properly. however, connecting to the port fails even in the first step--when I type connect('[EMAIL PROTECTED]:9001') on matlab, it turns out to be ans=[]. then I compiled line-by-line of connection.m I got the following error,
connectionName='[EMAIL PROTECTED]:9001';
messenger = net.tinyos.matlab.MatlabMessenger

messenger =

[EMAIL PROTECTED]

messenger.displayMessages(DEBUG)
phoenixSource = net.tinyos.packet.BuildSource.makePhoenix(connectionName,messenger)

phoenixSource =

Thread[Thread-21,5,main]

phoenixSource.setResurrection;
moteIF = net.tinyos.message.MoteIF(phoenixSource, COMM.GROUP_ID)
??? Undefined variable "net" or class "net.tinyos.message.MoteIF".
When I changed the connectionName, and compile line-by-line again, there're still errors,
connectionName='[EMAIL PROTECTED]:57600';
messenger = net.tinyos.matlab.MatlabMessenger

messenger =

[EMAIL PROTECTED]

messenger.displayMessages(DEBUG)
phoenixSource = net.tinyos.packet.BuildSource.makePhoenix(connectionName,messenger)
??? Java exception occurred:
java.lang.NoClassDefFoundError

        at net.tinyos.packet.BuildSource.decodeBaudrate(BuildSource.java:277)

        at net.tinyos.packet.BuildSource.makeArgsSerial(BuildSource.java:347)

        at net.tinyos.packet.BuildSource.makePacketSource(BuildSource.java:147)

        at net.tinyos.packet.BuildSource.makePhoenix(BuildSource.java:87)
.
Could someone help me to solve these? Thanks in advance.

_________________________________________________________________
Schlau wie Schlange? Finden Sie es heraus – mit dem MSN Suche Superquiz via http://clk.atdmt.com/GBL/go/mcrsddes0090000003gbl/direct/01/ und gewinnen Sie MP3Player, Reisen und mehr.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to