Controlling block execution

With Enabled Execution activated, you can control when the block executes in simulation and generates code on the target. For more information, search for Conditional Execution under Help > Contents: Modeling and Simulation.