Thank you, guys. I had a try, but there are still some problems here.

I've got ' groupID=DD' in the MATLAB workplace. And then I followed the instructions. But I'm not sure whether I set the system classpath correctly becasue I know almost nothing about JAVA.
I just add the following line in MAKEFILE,
javac -classpath CLASSPATH;c:\\matlab7\\java\\jar\\jmi.jar;c:\\tinyos\\cygwin\\opt\\tinyos-1.x\\tools\\java\\comm.jar;c:\\tinyos\\cygwin\\opt\\tinyos-1.x\\tools\\java; $(JAVA);

When I compiled by running ' make matlab', errors were returned like this:

javac -classpath CLASSPATH;c:\\matlab7\\java\\jar\\jmi.jar;c:\\tinyos\\cygwin\\o
pt\\tinyos-1.x\\tools\\java\\comm.jar;c:\\tinyos\\cygwin\\opt\\tinyos-1.x\\tools
\\java; MatlabClock.java MatlabControl.java MatlabMessageListener.java MatlabMes
senger.java;
PK: not found
c:\matlab7\java\jar\jmi.jar: 11: Syntax error: "|" unexpected
c:\tinyos\cygwin\opt\tinyos-1.x\tools\java\comm.jar: 1: Syntax error: Illegal eo
f marker for << redirection
c:\tinyos\cygwin\opt\tinyos-1.x\tools\java: not found
//: not found
./MatlabClock.java: 3: Syntax error: "(" unexpected
make: *** [matlab] Error 2

I was so frustrated.

Could you guys tell me how to set the class path? Also, is it probable that the files have syntax errors? How can I modify them?

Thanks again.

Lei


On 11/3/05, Stephanie Kigadye <[EMAIL PROTECTED]> wrote:
Hi,
I have the oscilloscope application working in the cygwin shell but now i want to use it in MATLAB - i can actually get the data printed on the MATLAB workspace but i dont know how to save it in MATLAB - that's where I am stuck...
 
For setting up the MATLAB environment, i followed the instructions given by Manu Gupta at
 
it worked fine for me.
 
cheers,
Stephanie


Lei Tang <[EMAIL PROTECTED]> wrote:

Hi, Stephanie

I'm also trying to read data through the serial port using MATLAB in order to plot curves easily. Have you tried the Oscilloscope application just by running 'Java net.tinyos.oscope.oscilloscope' in the cygwin window and the proper directory? It did work here.

But, I have troubles in Step 2 when I set up the MATLAB environment following the instructions. 'Package com.mathsworks.jmi' errors occur. Did you have the same problem before?

Thanks.
Lei

On 11/2/05, Stephanie Kigadye <[EMAIL PROTECTED] > wrote:
Hi all,
I am trying to read the sensor data and be able to save it as an array (so i can analyse it) in the MATLAB workspace - the tutorial for using TinyOS with Matlab uses the OscilloscopeRF application but i want to implement it using the Oscilloscope application - which i have tried but it doesn't seem to work.
i'd appreciate any ideas?
 
Cheers,
Stephanie


To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.


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




Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail


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

Reply via email to