Real time data transmission using simulink UDP receiver
Show older comments
Hi, all. I am trying to send realtime data sequences using using developed C++ UDP program (sendto) on local host (127.0.0.1). And receive it in simulink. If the sampling frequency in simulink is the same with the original data sampling frequency there is no problem. But if I increase the sampling frequency in simulink, it starts to receive zeros in between. I also tried TCP/IP, there is no such kind of problem when I increase the receiver frequency. But I really need low latency realtime transmission, so UDP is preferable. Any idea ? Thanks !
2 Comments
Walter Roberson
on 13 May 2015
If you sample faster than the transmitter is sending, or if a UDP packet gets dropped, then you have no data available when you want it. What do you want the result to be?
Tianxiao
on 13 May 2015
Accepted Answer
More Answers (0)
Categories
Find more on System Configuration 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!