Main Content

UDP Send

Send UDP message

Add-On Required: This feature requires the Embedded Coder Support Package for BeagleBone Black Hardware add-on.

Description

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

  • UDP Send block

Parameters

IP address ('255.255.255.255' for broadcast)

Specify the IP address or host name to which the block sends the message. To broadcast the UDP message, retain the default value, '255.255.255.255'.

Remote IP port

Specify the port to which the block sends the message. The value defaults to 25000, but the values range from 1 – 65535.

Local IP port source

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

Local IP port

Specify the IP port number from which the block sends the message, from 1 – 65535.

If the receiving address expects messages from a particular port number, enter that number.

The default value, -1, sets the port number to 65535.

See Also

UDP Receive

Extended Capabilities

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

Version History

Introduced in R2014b