User`s guide

4 Advanced Procedures
4-24
Output Signals from an I/O Block
I/O driver blocks output multiple signals as a vector instead of individual
channels or lines. To connect the individual channels and lines to parts of your
Simulink model, you need to separate the vector with a
Demux block.
After you add and configure an I/O driver block in your Simulink model, you
can separate and connect the output signals from the blocks:
1 In the Simulink window, and from the View menu, click Library Browser.
The Simulink Library Browser opens.
2 Click Signal Routing. From the list in the right column, click and drag
Demux to your Simulink model.
3 Double-click the Demux block. The Block Parameters: Demux dialog box
opens. Enter the number of lines leaving the Demux block. For example, if
you entered three channels in the Analog Input driver block, enter
3 in the
Number of outputs box.
4 Click OK.