UDP Receive Binary problem

4 次查看(过去 30 天)
Reurison
Reurison 2017-3-12
评论: Manish M 2019-6-27
Hi guys,
I'm building a simulink application using UDP Receive Binary and UDP Send Binary blocks from Simulink Real Time (Matlab2015a). I'm trying to test a communication using a ethernet cable between simulink and my Beaglebone where I built a UDP server socket (IP : 10.10.10.99 / 51001). I'm able to send data to the Beaglebone but I'm unable to receive data from Beaglebone. I tried to open the wireshark to see what's going on and the data it is been sent to the my computer (IP : 10.10.10.1) but the UDP Receive binary block shows nothing.
On the UDP Send binary block, these are the configurations :
Destination IP address : 10.10.10.99 (Beaglebone's IP address)
Destination Port : 51001
Local (source) Port : 50000
Sample time : 0.01
On the UDP Receive Binary :
Source IP address : 10.10.10.99
Local (destination) port : 50000
Output port Width : 24
Sample time : 0.01
Can someone explain me why I can not recover the data using the UDP Receive Binary block?
Thank you.
  1 个评论
Manish M
Manish M 2019-6-27
Can you please attach your model here, so that it is easier to help?

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by