difference between STATEFLOW and PID?

3 views (last 30 days)
Rajbir Singh
Rajbir Singh on 20 Aug 2017
Edited: Stephen23 on 24 Aug 2017
how much i understand both these ......i guess both have same function as feedback.......plz can u tell me about difference between them.....in their working or something else.....

Answers (1)

Sharan Paramasivam Murugesan
Stateflow and PID are two completely different concepts. Stateflow is a product in MATLAB that helps in designing and simulating state machines and flowcharts. Where as, PID Controller is a block in Simulink which helps you create, configure and tune a PID controller used in Control system design.
Please go through the following docs for the basics of these two:
For stateflow: https://www.mathworks.com/help/stateflow/gs/product-description.html
For PID controller: https://www.mathworks.com/help/control/pid-controller-design.html

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!