Specifications

RS-232 Asynchronous Mode
2-21
12 Click OK. The Block Parameters dialog box closes.
13 Double-click the RS-232 Send block. The Block Parameters dialog box
opens.
14 From the Port list, choose either COM1 or COM2. For this example, choose
COM2. In the Message Struct Name box, enter the name for the MATLAB
structure this block uses to receive messages from the COM2 port. In the
Sample Time box, enter the sample time or a multiple of the sample time
you entered in the RS-232 Send block.
Your
Block Parameters dialog box should look similar to the figure shown
below.
For information on entering the block parameters, see “RS-232 Receive
Block (Asynchronous)” on page 2-30. For the procedure to create the send
structure, see “RS-232 MATLAB Structure Reference” on page 2-31.
15 Click OK. The Block Parameters dialog box closes.