.IDEAS.Controls.OBC.CDL.Conversions.BooleanToReal

Convert Boolean to Real signal

Information

Block that outputs the Real equivalent of the Boolean input.

  y = if u then realTrue else realFalse;

where u is of Boolean and y of Real type, and realTrue and realFalse are parameters.

Revisions


Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos