Key-5(t)
![]() |
![]() |
| Vector | |
| in the palette | on the schematic |
The block implements the function of the controlled key according to the following algorithm:

where x(t) is the vector of input signals; y1(t), y2(t) are the vectors of output signals on the 1st and 2nd output ports; y0 is the vector of output signals on the 1st output port at t ≥ x(t) and, respectively, the vector of output signals on the 2nd output port at t < x(t).

where x(t) is the vector of input signals; y1(t), y2(t) are the vectors of output signals on the 1st and 2nd output ports; y0 is the vector of output signals on the 1st output port at t ≥ x(t) and, respectively, the vector of output signals on the 2nd output port at t < x(t).
Inputs
- input - input signal, x.
Outputs
- output1 - output signal, y1;
- output2 - output signal, y2.
Properties
- Subthreshold value at the output – vector y0.
Parameters
- Level - the current position of the key.
Note:
- By default, the block generates a scalar output signal.
- Named properties can be set as local model variables (submodels) in a programming language script, as global project signals using the Tools → Signals main menu item, or as external project signals using an attachable signal database.

