This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Receive UDP packet


Simulink® Real-Time™ Library for PTP UDP


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 ( for accepting all)

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

The default address,, 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 target computer or device from which to receive the video frames. With IP address to receive from ( 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).

See Also

External Websites

Introduced in R2011a

Was this topic helpful?