Manual Variant Sink
Switch between multiple variant choices at output
Libraries:
Simulink /
Signal Routing
Description
The Manual Variant Sink block is a toggle switch that activates one of its variant choices at the output to pass the input.
The block can have two or more output ports and has one input port. Each output port is associated with a variant control. To change the number of output ports, right-click the block and select Mask Parameters, then type a value in the Number of choices box.
To toggle between the variant choices at output, double-click the block. The block displays the active choice with a line connecting the input to the output. The block propagates the active variant choice at output and discards the blocks connected to inactive output ports during simulation.
Note
Double-clicking the Manual Variant Sink block does not open the block dialog box instead it toggles the output choice.
Changing the active choice during compile, simulation, or paused states is not supported.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Extended Capabilities
Version History
Introduced in R2016b