20.6.6.7. Multiport Switch
The Multiport Switch block outputs one of the input signals indicated by the control signal. The first input signal is the control signal. Others are data signals.
If the truncated control signal is less than 1, the second data signal is equal to the output signal.
If the truncated control signal is greater than the number of input ports, the last data signal is equal to the output signal.
Dialog box
![../_images/image1772.png](../_images/image1772.png)
Figure 20.111 Multi Switch dialog box
Parameter(s) |
Description |
Number of input ports |
Enter the number of data signals. |
Sample time |
Enter the time interval between samples. |