User`s guide
I/O Driver Blocks
2-9
4 Open a function group. For example, to open the A/D group for
ComputerBoards, double-click A/D, and then double-click
ComputerBoards.
A list with the A/D driver blocks for ComputerBoards opens.
5 From the block library, click-and-drag the name of an A/D board to the
Simulink block diagram. Likewise, click-and-drag the name of a D/A board
to your model
Simulink adds the new I/O blocks to your model.
6 Remove the signal generator block and add the analog input block in its
place. Remove the scope block and add the analog output block in its place.
The model
xpcosc should look like the figure shown below.