UDP Multicast Packet Receiver
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm trying to use MATLAB to receive and parse UDP packets from a sensor. I can see that the sensor is broadcasting the data on multicast address 239.254.2.1, port 50220, when I sniff traffic in Wireshark. However, I'm not having any luck actually streaming the packet bytes into MATLAB. Is multicast supported? Are there any examples you reccommend? I've looked through the existing documentation and can't find anything multicast specific.
댓글 수: 0
답변 (1개)
Vijaya Lakshmi Chagi
2019년 3월 14일
The ability to receive UDP from multiple different sources is possible with the SLRT UDP blocks starting from R2018a.
댓글 수: 1
Luke Beatman
2021년 5월 20일
Hello Vijaya,
I am having the same problem as the original poster. Can you describe anything beyond what's in the documentation that may fix the problem, specifically, I can see the packet in Wireshark but can't see it in Matlab. I have seen the packet in Python with the same machine/sensor combination
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!