20-sim webhelp > Library > Signal > Block Diagram Non-Linear > switch-default


switch-default

Navigation:  Library > Signal > Block Diagram Non-Linear >

switch-default

Previous pageReturn to chapter overviewNext page

Library

Signal\Block Diagram Non-Linear

Use

Domains: Discrete, Continuous. Size: 1-D. Allowed in: Block Diagrams.

Description

This model switches between two input signals, depending on the value of a third input signal.

 

output = input_high; (condition >= 0)

output = inp_low; (condition < 0)

Interface

Inputs

Description

input_high

input_low

condition

 

 

Switching condition

Outputs

 

output