STATEFLOW
Objective: Stateflow:-Its a Matlab-Simulink tool where you can convert the logic into a systematic system. A Stateflow is a part of Simulink just like a Simulink is a part of Matlab. -Stateflow is a control logic tool used to model reactive systems via state machines and flow charts within a Simulink model. -State machines are…