Documentation

PS Switch

Single-pole double-throw switch controlled by external physical signal

Library

Physical Signals/Nonlinear Operators

Description

The PS Switch block compares the value of the physical signal presented at the second (middle) input port to the threshold value:

  • If the control input value is greater than or equal to the threshold, the output is connected to the first input. This is the default connection shown in the block icon.

  • If the control input value is less than the threshold, the output is connected to the third input.

The second (middle) input port is the control port and it never connects to the output. All the inputs and the output are physical signals.

Dialog Box and Parameters

Threshold

The threshold value for opening and closing the switch. If the control physical signal, presented at the second (middle) input port, is greater than or equal to this value, then the output is connected to the first input. Otherwise, the output is connected to the third input. The default value is 0.

Ports

The block has three physical signal input ports and one physical signal output port.

See Also

Was this topic helpful?