
Routes two input signals through a single output according to a trigger
Category: Routing
The Switch block allows the user to change the signal flowing into a port by a trigger. Figure 1 shows a diagram using Switch block with a Step block signal as a trigger.

Figure 1 - Switch usage example

Figure 2 - Signal generated from example in Figure 1
As can be seen, at 5s, the signal switches from a sine to a constant due to the trigger generated by the Step signal.
Input signal used as Output signal when Trigger Input is different from zero.
Trigger signal that switches the Output Signal according to the rule:
Input signal used as Output signal when Trigger Input is equal to zero.
Returns one of the input signals according to the trigger.
About MWF
MWF is a traditional Brazilian company that provides a wide range of electronic and mechatronic products for industry sectors such as automotive, agricultural machinery and aerospace.
Contact Us
Rua Doutor Siqueira, 139 / Sala 804 Campos dos Goytacazes - RJ, Brasil
contact@mwf-technologies.com
© 2018-2026 MWF. All rights reserved.