UDP Receive
R2026bReceive UDP packets over IP network
Libraries:
Embedded Coder Support Package for BeagleBone Black Hardware
Description
Add-On Required: This feature requires the Embedded Coder Support Package for BeagleBone Black Hardware add-on.
The UDP Receive block receives UDP packets from an IP network port and saves them to its buffer. With each sample, the block output emits the contents of a single UDP packet as a data vector.
Note
Your antivirus software or firewall might block UDP traffic. Configure the software to allow traffic from a specific IP port number.
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.
"beaglebonelib/UDP Receive"
Example: add_block("beaglebonelib/UDP Receive","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2014b