Main Content

UDP Send

Send UDP message to UDP host

Add-On Required: This feature requires the Simulink Support Package for Parrot Minidrones add-on.

  • UDP Send block

Libraries:
Simulink Support Package for Parrot Minidrones

Description

The UDP Send block sends an input vector as UDP message over an IP network port to a UDP host.

Specify the IP address and the port number of the receiving host in the Remote IP address and Remote IP Port parameter.

Ports

Input

expand all

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

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

Parameters

expand all

Specify the IP address or the host name to which the block sends the UDP messages. The Remote IP address is set at 192.168.3.2; do not change this IP address.

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

Note

Do not use ports 24099 and 26061 for UDP communication with Parrot minidrone as these ports are reserved.

This parameter appears if you select the Specify via dialog option for Local IP port source. Specify the port number of the application from which you want to send these messages.

Version History

Introduced in R2018a

See Also