Documentation

UDP Rx

Receive UDP packet

Library

Simulink® Real-Time™ Library for IP

Description

The UDP Rx block outputs a network buffer with a UDP header.

Block Parameters

IP Group

Enter a number in the range 0 to 7. This value identifies the IP Init block inside the Real-Time UDP Configuration subsystem that is associated with this block.

IP address to receive from (0.0.0.0 for accepting all)

Enter a valid IP address as a dotted decimal string. For example, 10.10.10.3. You can also use a MATLAB® expression that returns a valid IP address as a string. With IP port to receive from, this parameter defines the source address.

The default address, 0.0.0.0, enables the acceptance of all UDP packets from any accessible computer. If set to a specific IP address, only packets arriving from that IP address are received.

IP port to receive from

Specify the port of the computer or device from which to receive the video frames. With IP address to receive from (0.0.0.0 for accepting all), this parameter defines the source address.

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

Was this topic helpful?