Specifications

RS-232 Asynchronous Mode
2-17
1 In the MATLAB command window, type
xpclib
The xPC Target driver block library opens.
2 Double-click the RS-232 group block.
A window with blocks for RS-232 drivers opens.
Note This library contains two setup blocks. The second block is included for
compatibility with xPC Target Version 1.0.
Alternatively, you could access the xPC Target block library from the
Simulink Library Browser. In the Simulink window, and from the
View
menu, click
Show Library Browser. In the left pane, double-click xPC
Target
, and then click RS-232.
3 Drag-and-drop a RS-232 Setup block to your Simulink model.
4 In the Library window, double-click the RS-232 Synchronous mode group
block. The library window containing blocks for RS-232 Synchronous
communication opens.
Note This library contains two send and two receive blocks. The second
block is included for compatibility with xPC Target Version 1.0.