Stateflow is a control logic tool used to model reactive systems via state machines and flow charts within a Simulink model. Stateflow is generally used to specify the discrete controller in the model ...