Main Content

UDP Send

Send UDP data to remote host

  • UDP Send block

Simulink Support Package for Apple iOS Devices / Communication


The UDP Send block sends user datagram protocol ( UDP ) data to a remote host.


If you are having trouble using UDP to communicate between your host computer and your Apple iOS device, antivirus or firewall software might be blocking UDP traffic. In this case, reconfigure the software to enable UDP traffic for a specific IP port number.



expand all

Input data signal, specified as a numeric vector. The block sends this data as UDP data to the remote IP address at the remote IP port.

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


expand all

Specify the IP address of the remote host to which you want to send UDP data. To broadcast the UDP message, use the default value, ''. Use the default IP address sparingly to avoid creating unnecessary broadcast traffic on your network. Often, IP routers are configured to drop broadcast UDP packets sent to this default IP address.

Specify the IP port number of the remote host to which you want to send UDP data. The IP port number must be an integer from 1 to 65,535.

Extended Capabilities

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

Version History

Introduced in R2015a