Documentation

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.

UDP Consume

Consume a UDP packet

Library

Simulink® Real-Time™ Library for PTP UDP

Description

The UDP Consume block outputs a network buffer with raw data that you can output to a Network Buffer library block. To create this output, the block:

  1. Receives as input a network buffer that contains a UDP header.

  2. Removes the UDP header.

  3. Outputs the updated network buffer.

The block has two output ports:

  • Buffers

    Chain of network buffers.

  • Chain size

    Number of buffers on the chain.

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.

Output port width

Enter the width of the port. A value other than 0 creates the following output ports:

  • Source IP Address

  • Destination IP Address

  • Local UDP Port

  • Remote UDP Port

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?