.Modelica.Blocks.MathBoolean.Xor

Information

The output is true if exactly one input is true, otherwise the output is false.

The input connector is a vector of Boolean input signals. When a connection line is drawn, the dimension of the input vector is enlarged by one and the connection is automatically connected to this new free index (thanks to the connectorSizing annotation).

The usage is demonstrated, e.g., in example Modelica.Blocks.Examples.BooleanNetwork1.

If no connection to the input connector "u" is present, the output is set to false: y=false.


Generated at 2024-03-27T19:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos