BooleanConstant

Generate constant signal of type Boolean

    BooleanConstant

Library

Modelica/Blocks/Sources

Description

The Boolean output y is a constant signal:

BooleanConstant.png

Parameters

BooleanConstant_0

NameLabelDescriptionData TypeValid Values

mo_k

k

Constant output value

Scalar

true
false

BooleanConstant_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

y

implicit

Connector of Boolean output signal

output

1

See Also