Main Content

UDP Send

Send UDP packets over IP network

Add-On Required: This feature requires the Simulink Support Package for Raspberry Pi Hardware add-on.

  • Raspberry Pi UDP Send block

Simulink Support Package for Raspberry Pi Hardware / Network


The UDP Send block sends UDP packets to a UDP host. Use the block for stateless and connectionless data transmission.


Your antivirus software or firewall might block UDP traffic. Configure the software to allow traffic from a specific IP port number.



expand all

The block accepts an array and sends it as UDP packets over an IP network port to the receiving UDP host.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean


expand all

Specify the IP address or the host name to which the block sends the UDP packets. To broadcast packets to all the receiving hosts, specify ''.

Specify the port number of the application on the receiving host to which you want to send the packets. Match the remote port number with the local port number of the receiving host.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2013a