Consume a UDP packet
Simulink® Real-Time™ Library for IP
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:
Receives as input a network buffer that contains a UDP header.
Removes the UDP header.
Outputs the updated network buffer.
The block has two output ports:
Chain of network buffers.
Number of buffers on the chain.
Enter a number in the range
This value identifies the IP Init block inside the Real-Time
UDP Configuration subsystem that is associated with this block.
Enter the width of the port. A value other than
the following output ports:
Source IP Address
Destination IP Address
Local UDP Port
Remote UDP Port
Enter the base sample time or a multiple of the base sample
-1 means sample time is inherited).