Main Content

UDP Send

Send UDP packets over IP network

  • Library:
  • Simulink Support Package for Raspberry Pi Hardware / Network

  • Raspberry Pi UDP Send block

Description

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

Note

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

Ports

Input

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

Parameters

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 '255.255.255.255'.

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