UDP Read
R2026bReceive UDP packets from remote host
Libraries:
SoC Blockset for AMD /
SoC System Simulation /
Processor I/O
HDL Coder /
SoC System Simulation /
Processor I/O
Description
The UDP Read block receives UDP (User Datagram Protocol) packets from a remote host on the application on target. The remote host is the computer or hardware from which you want to receive UDP packets. The block reads UDP packets from UDP socket buffer and returns the UDP packets as a one-dimensional array.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"prociolib/UDP Read"
"prociolib/UDP Read"
Example: add_block("prociolib/UDP Read","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2019a
See Also
IO Data Source (SoC Blockset) | UDP Write (SoC Blockset) | Task Manager (SoC Blockset)
