Prev: using 'shape-preserving'
Next: Spectrogram
From: weiling on 4 Aug 2010 18:54 i want to connect Matlab (PC) and a Router. how can the Router send the data to Matlab? Programmlanguage is Perl. I mean, can i use perl to send data on Router. and use Matlab to get data and save in PC? I have no idea about that, please help!!!! or any useful links! thanks!
From: Walter Roberson on 4 Aug 2010 19:08 weiling wrote: > i want to connect Matlab (PC) and a Router. > how can the Router send the data to Matlab? Programmlanguage is Perl. > I mean, can i use perl to send data on Router. and use Matlab to get > data and save in PC? > I have no idea about that, please help!!!! or any useful links! Matlab can connect to a TCP server, but Matlab cannot act as a TCP server itself. Is the router programmed in perl? That would be somewhat unusual, as perl is not hardened enough for real-time work. I am aware that some Cisco routers offer tcl as a programming language that can query the router statistics and configuration and set parameters, but that's a bit different from the router itself being programmed in perl. If you do not have the Instrument Control toolbox, then you will need to download the (free) Matlab File Exchange entry http://www.mathworks.com/matlabcentral/fileexchange/345-tcpudpip-toolbox-2-0-6
From: weiling on 5 Aug 2010 02:16 Walter Roberson <roberson(a)hushmail.com> wrote in message <i3crua$665$1(a)canopus.cc.umanitoba.ca>... > weiling wrote: > > i want to connect Matlab (PC) and a Router. > > how can the Router send the data to Matlab? Programmlanguage is Perl. > > I mean, can i use perl to send data on Router. and use Matlab to get > > data and save in PC? > > I have no idea about that, please help!!!! or any useful links! > > Matlab can connect to a TCP server, but Matlab cannot act as a TCP server itself. > > Is the router programmed in perl? That would be somewhat unusual, as perl is > not hardened enough for real-time work. I am aware that some Cisco routers > offer tcl as a programming language that can query the router statistics and > configuration and set parameters, but that's a bit different from the router > itself being programmed in perl. > > If you do not have the Instrument Control toolbox, then you will need to > download the (free) Matlab File Exchange entry > http://www.mathworks.com/matlabcentral/fileexchange/345-tcpudpip-toolbox-2-0-6 i have create route as a TCP server with Perl. I can now create another Route as a TCP Client with Perl. But now i want to the route as TCP server connect to Matlab. The router now can send data in Perl. my problem is, matlab can read data as usual (as example). or it is different, because the TCP server is programmed in Perl not in Matlab.
From: weiling on 5 Aug 2010 07:03 Walter Roberson <roberson(a)hushmail.com> wrote in message <i3crua$665$1(a)canopus.cc.umanitoba.ca>... > weiling wrote: > > i want to connect Matlab (PC) and a Router. > > how can the Router send the data to Matlab? Programmlanguage is Perl. > > I mean, can i use perl to send data on Router. and use Matlab to get > > data and save in PC? > > I have no idea about that, please help!!!! or any useful links! > > Matlab can connect to a TCP server, but Matlab cannot act as a TCP server itself. > > Is the router programmed in perl? That would be somewhat unusual, as perl is > not hardened enough for real-time work. I am aware that some Cisco routers > offer tcl as a programming language that can query the router statistics and > configuration and set parameters, but that's a bit different from the router > itself being programmed in perl. > > If you do not have the Instrument Control toolbox, then you will need to > download the (free) Matlab File Exchange entry > http://www.mathworks.com/matlabcentral/fileexchange/345-tcpudpip-toolbox-2-0-6 i have connected matlab with router. now i want to know, how can i get data from a route ?
From: weiling on 5 Aug 2010 07:04 Walter Roberson <roberson(a)hushmail.com> wrote in message <i3crua$665$1(a)canopus.cc.umanitoba.ca>... > weiling wrote: > > i want to connect Matlab (PC) and a Router. > > how can the Router send the data to Matlab? Programmlanguage is Perl. > > I mean, can i use perl to send data on Router. and use Matlab to get > > data and save in PC? > > I have no idea about that, please help!!!! or any useful links! > > Matlab can connect to a TCP server, but Matlab cannot act as a TCP server itself. > > Is the router programmed in perl? That would be somewhat unusual, as perl is > not hardened enough for real-time work. I am aware that some Cisco routers > offer tcl as a programming language that can query the router statistics and > configuration and set parameters, but that's a bit different from the router > itself being programmed in perl. > > If you do not have the Instrument Control toolbox, then you will need to > download the (free) Matlab File Exchange entry > http://www.mathworks.com/matlabcentral/fileexchange/345-tcpudpip-toolbox-2-0-6 i have connected matlab with router but how can i get data from router
|
Pages: 1 Prev: using 'shape-preserving' Next: Spectrogram |