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
Figure 1 Multi Switch dialog box
Parameters
Parameter(s) |
Description |
Number of input ports |
Enter the number of data signals. |
Sample time |
Enter the time interval between samples. |