Step3: Programming with Stateflow
***What Is Stateflow?
-Stateflow is a graphical design and development tool for control and supervisory logic used in conjunction with Simulink.
Using Stateflow you can...
Visually model and simulate complex reactive systems based on finite state machine theory
Design and develop deterministic, supervisory control systems
Easily modify your design, evaluate the results, and verify the system's behavior at any stage of your design
Automatically generate integer, floating-point, or fixed-point code directly from your design (requires Stateflow Coder)
Take advantage of the integration with the MATLAB and Simulink environments to model, simulate, and analyze your system
***Examples of Stateflow Applications
The following types of applications benefit directly from the use of Stateflow:
Embedded systems
Avionics (planes)
Automotive (cars)
Telecommunications (for example, routing algorithms)
Commercial (computer peripherals, appliances, and so on)
Programmable logic controllers (PLCs) (process control)
Industrial (machinery)
Man-machine interface (MMI)
Graphical user interface (GUI)
Hybrid systems
Air traffic control systems (digital signal processing (DSP)+control+MMI)
#Reference:
4. http://www.mathworks.com/help/stateflow/getting-started.html
5. http://www.mathworks.com/videos/introduction-to-stateflow-for-controls-applications-68889.html
***Programming with Stateflow for Multi-Bot:
Related Video with stateflow: