First of all, which platform are you using? (Tmote, Micaz... ?)
Then, how do you want to connect the sensor network to the Matlab-PC? By serial port (USB), by a gateway... ¿? This Matlab toolbox is used to read/write through an IP connection. --- José A. Tarifa Galisteo Telecommunication Engineer University of Seville email [7] Website [8] On Sun, 2 Oct 2011 22:52:36 +0100, Amin Amin wrote: > Hi, > > I can't understand, can you show me how start with a small example please. > Thanks and i wait for your answer. > > 2011/10/2, José A. Tarifa : > >> Hi! I think you want is receive data in Matlab from the WSN and draw the data, isn't it? You can use this toolbox for Matlab: TCP/UDP/IP Toolbox 2.0.6 http://www.mathworks.com/matlabcentral/fileexchange/345 [2] >> >>>> In this >> case, you must use the Tmote Connect (a gateway between a WSN and a Ethernet connection). The main function (pnet.c) is written in C-language, so you must compile it to use in Matlab (.mex). * If you're using UNIX: "mex -O pnet.c" * If you're using Windows, you have two options: "mex -O pnet.c {DIR_INSTAL_MATLAB}syslcclibwsock32.lib -DWIN32" or "mex -O pnet.c ws2_32.lib -DWIN32" You can find more information on this page (João Faria): http://www2.ee.kth.se/web_page/netcon/mediawiki/index.php/Wireless_Process_Control#Implementation_2:_MATLAB.2FSimulink.2C_M_S-Functions.2C_pnet [3]--- José A. Tarifa Galisteo Telecommunication Engineer University of Seville email [3] Website [4] On Fri, 30 Sep 2011 17:53:46 +0100, Amin Amin wrote: >> >>> Hi all, Can anyone help me how i can use >> matlab in tinyo 2.x for draw automatically the graphs during the simulation. >> [email protected]">[email protected] [1] [email protected] [4] [2] http://alumno.us.es/j/jostargal/ [5] Links: ------ [1] mailto:[email protected] [2] http://www.mathworks.com/matlabcentral/fileexchange/345 [3] http://www2.ee.kth.se/web_page/netcon/mediawiki/index.php/Wireless_Process_Control#Implementation_2:_MATLAB.2FSimulink.2C_M_S-Functions.2C_pnet [4] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/t<div> >]mailto: </div>[email protected] [5] https://www.millennium.berkeley.edu<div> >lp[3]mailto:[email protected][1][4] </div>s.es/j/jostargal/ [6] mailto:[email protected] [7] mailto:[email protected] [8] http://alumno.us.es/j/jostargal/
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
