UDP Receive Binary problem

조회 수: 1 (최근 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