UDP Multicast Packet Receiver
3 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Vijaya Lakshmi Chagi
on 14 Mar 2019
The ability to receive UDP from multiple different sources is possible with the SLRT UDP blocks starting from R2018a.
1 Comment
Luke Beatman
on 20 May 2021
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
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!