unpacking UDP Send block of an xPC target
2 次查看(过去 30 天)
显示 更早的评论
when sending data through UDP Send block of an xPC target it packed in binary? how can we unpack that in other software like eclipse?
0 个评论
回答(1 个)
Dimitri MANKOV
2022-5-2
Hi Aida,
Universal Datagram Protocol (UDP) is a packet-based protocol. You can construct a packet from Simulink data types such as double, int8, int32, uint8, or a combination of these data types. The Simulink Real-Time block library provides blocks for combining various signals into one packet (packing), and then transmitting it. It also provides blocks for splitting a packet (unpacking) into its component signals that can then be used in a Simulink model. That means that the receiving end must know the scructure of the transmitted packet in order to reconstruct the original signal from it correctly.
Best,
Dimitri
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!