Manual Variant Sink
Manual variable routing between multiple outputs.
blockType: ManualVariantSink
Path in the library: 
 | 
Description
Block Manual Variant Sink It is a toggle switch that activates one of the output options to transfer input data to it.
Block Manual Variant Sink It has only one input port and one or more output ports. Alternative options are connected to the output port of the block so that a maximum of one option is active during the execution of the model.
To switch between the output options, double-click the block. The block displays the active option as a line connecting the input to the output. The block distributes the active version at the output and during the simulation does not take into account the blocks connected to inactive output ports.
Double-click on the block Manual Variant Sink switches the output selection.
Ports
Input
#
 IN_1
—
Input signal
scalar | vector | the matrix
Details
The input signal that needs to be connected to the active output port.
| Data types | 
 
  | 
| Complex numbers support | 
 Yes  | 
Output
#
 OUT_1
—
output signal for the first option
scalar | vector | the matrix
Details
The output signal is for the first option.
The number of output ports depends on the parameter Number of choices.
| Data types | 
 
  | 
| Complex numbers support | 
 Yes  | 
#
 OUT_2
—
output signal for the 2nd option
scalar | vector | the matrix
Details
The output signal for the 2nd option.
The number of output ports depends on the parameter Number of choices.
| Data types | 
 
  | 
| Complex numbers support | 
 Yes  | 
Parameters
Main
#
Number of choices —
number of output options
Integer
Details
Specify the number of ports for output options.
| Default value | 
 
  | 
| Program usage name | 
 
  | 
| Tunable | 
 No  | 
| Evaluatable | 
 Yes  | 
#
Active choice —
the number of the active output port
Integer
Details
The number of the active output port. Acceptable values range from 1 before the parameter value Number of choices inclusive.
| Default value | 
 
  | 
| Program usage name | 
 
  | 
| Tunable | 
 No  | 
| Evaluatable | 
 Yes  |