Using Simulink    

Creating a Triggered and Enabled Subsystem

You create a triggered and enabled subsystem by dragging both the Enable and Trigger blocks from the Signals & Systems library into an existing subsystem. Simulink adds enable and trigger symbols and enable and trigger and enable control inputs to the Subsystem block icon.

You can set output values when a triggered and enabled subsystem is disabled as you would for an enabled subsystem. For more information, see Setting Output Values While the Subsystem Is Disabled. Also, you can specify what the values of the states are when the subsystem is re-enabled. See Setting States When the Subsystem Becomes Re-enabled.

Set the parameters for the Enable and Trigger blocks separately. The procedures are the same as those described for the individual blocks.


 Triggered and Enabled Subsystems A Sample Triggered and Enabled Subsystem