Real-Time Windows Target | ![]() ![]() |
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:
In the Simulink window, and from the View menu, click Show Library Browser.
3
in the Number of outputs box.Your model will look similar to the figure shown below. In this simple example, inputs 1 and 2 are not connected, but they could be connected to other Simulink blocks.
![]() | Digital Output Block | Variations with Channel Selection | ![]() |