StateActivation

State Machine activations

    StateActivation

Library

StateMachine

Description

StateActivation and StateBlock blocks go together. They are the basic components for defining a state machine, which is obtained by placing one StateActivation, and one or more StateBlock blocks in the same diagram. The StateActivation block dispatches its activation to one of the StateBlock blocks defined by the value of a hidden state variable. The value of this variable is set inside the states, when the states are initialized.

Parameters

StateActivation_0

NameLabelDescriptionData TypeValid Values

ST

State name (Global signal)

String

NStates

Max number of states

Number

Ports

NameTypeDescriptionIO TypeNumber

Port 1

activation

input

1