Using Simulink    

Creating Conditionally Executed Subsystems

A conditionally executed subsystem is a subsystem whose execution depends on the value of an input signal. The signal that controls whether a subsystem executes is called the control signal. The signal enters the Subsystem block at the control input.

Conditionally executed subsystems can be very useful when you are building complex models that contain components whose execution depends on other components.

Simulink supports three types of conditionally executed subsystems:


  Controlling Access to Subsystems Enabled Subsystems