Use Activated romAI

The Use activated romAI option is available only for dynamic models.



This option externally activates the romAI block. The option exposes the states reset condition and the corresponding reset (initialization) values as block ports.

This block is useful in finite-state machine applications where there is a need to expose the state variable reinitialization values.

After you select the option, the following additional ports are automatically populated:
  • Activation event port (act). For the block to be active, this port must be activated with events.
  • State variables reset condition event port (init). An event on this port resets all the states of the romAI model. The reset value of each state is given by the signal from the state variable reset value input port.
  • State variables reset value port. For each state, an individual input port is created for defining the reset (reinitialization) value from a signal.