How to get data from wifi through TCP/IP?
Show older comments
I am trying to get the data from wifi through TCP. I have found an example code online, but it seems not working well.
1.How can I listen to a TCP server's port in a particular IP address? In the example code, there is a function: interfaceObject = tcpip('localhost',19); How does the function tcpip()works? Why can't I find it in the function browser?
2. If I want to collect data from RS232, there are functions like: YY = serial('COM1'); fopen (YY); data=fscanf(YY); Are there functions playing similar roles in TCP?
Thank you!
Accepted Answer
More Answers (0)
Categories
Find more on Instrument Control Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!