Main Content

Switch

Simulink controlled two–terminal switch

  • Library:
  • RF Blockset / Circuit Envelope / Junctions

  • Switch block

Description

The switch block models a two terminal switch. The input Simulink® signal, Vctl , controls the transfer of the RF Blockset™ signal from the In terminal to the Out terminal.

If the control voltage is less than the threshold voltage, the block attenuates the signal using the resistance value specified in Off resistance between the input and output terminals. If the control voltage is greater than the threshold voltage, the block passes the signal using the resistance value specified in On resistance between the input and output terminals.

Ports

Input

expand all

Simulink control signal, specified as a scalar.

Data Types: double

Parameters

expand all

On resistance value of the switch, specified as a positive scalar in ohms.

Off resistance value of the switch, specified as a positive scalar in ohms.

Threshold voltage of the switch, specified as a scalar in volts.

More About

expand all

See Also

| |

Introduced in R2015b