User`s guide

3 Network Communication
3-20
chances of dropped packets. This is especially true when you are using a small
sample time.
UDP Send Block
The Send block has only one input port that receives the uint8 vector that is
sent as a UDP packet.
The Block Parameters for the Send block are shown below.
The
IP address to send to and the IP port to send to have to be specified in
the appropriate locations. The local IP port that is used for sending will be
determined automatically by the networking stack. The sample time should be
set to an appropriate value, with similar considerations as in the receive block.
UDP Pack Block
The Pack Block is used to convert one or more Simulink signals of varying data
types to a single vector of
uint8 as required by the Send Block. The data types
for the different signals must be specified as part of the block parameters while
the sizes of each signal are determined automatically.