Block that outputs the Integer
equivalent of the Boolean
input.
y = if u then integerTrue else integerFalse;
where u
is of Boolean
and y
of Integer
type,
and integerTrue
and integerFalse
are parameters.
-
May 17, 2022, by Hongxiang Fu:
Corrected documentation texts where the variables were described with wrong types.
This is for
#3016.
-
January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the
Modelica Standard Library.
Generated at 2024-12-28T19:26:00Z
by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos