This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

UDP Send

Send UDP message to UDP host

  • Library:
  • 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 the messages.

Model Examples

See Also

Introduced in R2018a