User`s guide

3 Network Communication
3-26
For setting up the Receive block, IP address to receive from is set to
192.168.0.1 (the hypothetical address of the system that will run Model B).
The
IP port to receive from is set to 25000 (the same value as set in the Send
block in Model A). The
Output port width is set to 75 which is obtained from
the output port width of the Pack block in Model A.
For the Unpack block,
Byte Alignment is set to 1, and the Output port
datatypes
is set to {’uint8’,’int16’,’double’} from the Pack block in
Model A. The
Output port dimensions is set to {[3 3],1,[2 4]} from the
dimensions of the inputs to the Pack block in modelA.
Note that in Model B, the second output port of the Receive block is sent into a
terminator. This may be used to determine when a packet has arrived. The
same is true for the outputs of the Unpack block, which in a real model would
be used in the model.