UDP Receive
R2026bReceive data over UDP network from remote host
Libraries:
Simulink Support Package for Android Devices /
Communication
Simulink Coder Support Package for BeagleBone Blue Hardware /
Communication
Simulink Support Package for LEGO MINDSTORMS EV3 Hardware
Description
Add-On Required: This feature requires the Simulink Support Package for Android Devices 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.
"androidcommunicationlib/UDP Receive"
"bbblueCommlib/UDP Receive"
"legoev3lib/UDP Receive"
Example: add_block("androidcommunicationlib/UDP Receive","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2014a