To Boolean Variable - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


To Boolean Variable

Assign a boolean input to a variable for use with a matching From Boolean Variable block

 

Description

Connections

Parameters

Description

The To Boolean Variable component is used with the From Boolean Variable component to provide a way to connect, in the GUI, two boolean signals without a connection line.

The global scope parameter, when true, allows connecting a signal from a To component in one subsystem to a From component in another subsystem.

Connections

Name

Description

Modelica ID

v

Boolean input

v

Parameters

Name

Default

Units

Description

Modelica ID

var

 

 

Variable name that is retrieved by the From Boolean Variable block

var

n

1

 

Define the size of the input signal (must match the corresponding From Boolean Variable block)

n

global scope

false

 

True (checked) means the variable is defined globally

globalscope

See Also

Routing Blocks

Signal Blocks

To From Blocks