No much idea about the printf and how to read the std output from Matlab... But I encourage the mote2pc tutorial, MIG is great and you will find it very easy to use. And I am sure that getting values from the serial port with Matlab is not difficult, indeed you can convert the MIG-generated Java classes into Matlab code very easily.
Cheers! Sergio On Sun, Feb 12, 2012 at 8:58 PM, Muhammad Altamash Khan <kh...@kth.se>wrote: > ** > Hi, > > I am printing (using printf) a character in the mote and trying to read it > in Matlab using "*scanstr*" or "*fscanf*". Prior to using the TinyOS, i > worked a bit with Contiki and back then, i was able to read the data from > the mote (i was just printing the same data), but somehow i cannot do the > same now. > > I get the timeout whenever i try to read the value. I was looking into the > "*mote2pc*' communication tutorial but it seemed a bit complicated. I > would prefer my own approach. > > Can any body help me with this problem? > > > > Regards, > > *Altamash Ahmed* > > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help