Main Content

UDP Send

Send UDP message to UDP host

  • 库:
  • Simulink Support Package for Parrot Minidrones

  • UDP Send block

Description

TheUDP Sendblock 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 theRemote IP addressandRemote IP Portparameter.

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. TheRemote IP addressis 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 ports24099and26061for UDP communication with Parrot minidrone as these ports are reserved.

This parameter appears if you select theSpecify via dialogoption forLocal IP port source. Specify the port number of the application from which you want to send the messages.

Version History

Introduced in R2018a

See Also