UDP Receive
R2026bReceive data over UDP network from remote host
Libraries:
Simulink Support Package for Arduino Hardware /
Ethernet Shield
Description
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
Use the UDP Receive block to receive user datagram protocol (UDP) data from a remote host. The block reads available UDP data from the socket buffer and outputs the data as a vector.
Ports
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.
"arduinoethernetlib/UDP Receive"
Example: add_block("arduinoethernetlib/UDP Receive","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2013b
