Main Content

UDP Send

Send UDP message

Add-On Required: This feature requires the Embedded Coder Support Package for AMD SoC Devices add-on.

Description

The UDP Send block transmits an input vector as a UDP message over an IP network port.

  • UDP Send block

Ports

Input

expand all

Input signal of messages to be sent to the remote IP address and port.

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

Parameters

expand all

Enter the IP address which the block sends the message. To broadcast the UDP message, retain the default value, '255.255.255.255'.

Enter the IP port where the block sends the message.

To let the system automatically assign the port number, select Assign automatically. To specify the IP port number using the Local IP port parameter, select Specify via dialog.

Enter the IP port number from which the block sends the message. If the receiving address expects messages from a particular port number, enter that number here.

Extended Capabilities

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

Version History

Introduced in R2013a