Engee documentation

Enable

Create an input port for the subsystem.

enable

Description

The Enable block allows an external signal to control the execution of a subsystem. To use this block, add it to the Subsystem block.

Ports

Output

Enable signal - external enable signal for the subsystem
scalar

The enable signal enters a special port and is transmitted inside the subsystem.

Dependencies

To use this port, enable the Show output port parameter.

Data types: Float64.

Parameters

Main

Show output port - control of output port display for resolution signal
disabled (by default) | enabled

The output port transmits an enable signal connected externally to an external Subsystem unit that contains an Enable unit.

Select this check box to display the output port on the Enable block. Selecting this option allows the subsystem to process the enable signal.

Usage in program code

Block parameter

ShowOutputPort

Values

off | on

* By default*

off

States - select block states when a subsystem or model is switched off
held (By default) | reset

When a subsystem block or model block is disabled, select what happens to the block states for blocks within the subsystem or model.

held

Hold the block states at their previous values.

reset

Reset the block states to their initial conditions (zero if not defined).

Usage in program code

Block parameter

StatesWhenEnabling

Type

character vector

Values

held | reset

By default

held

Additional options

C code generation: Yes