What is the difference between stateflow and simulink?

As far as I know, stateflow and simulink are often used simultaneously and are environments developed by MathWorks that make Matlab. Can I find out what is the difference between the two?

+5
source share
4 answers

Simulink is a largely management-oriented solution. It graphically displays mathematics as products, sums, integrals, etc. However, this conditional logic condition is missing. In my opinion, any design ifquickly turns red and uncontrollable. I have seen many models, and there is a clear line here where Simulink should end and Stateflow should start.

Stateflow , , . , Simulink Stateflow, , Stateflow .

, , , C, Simulink Stateflow. PID Stateflow, . Simulink, .

; meld Stateflow Simulink , Simulink C . CGIR ( ), Stateflow Simulink. 2007 . , , . , . CGIR , , TLC API - , , , .

, , , - .

+12

- Stateflow:

Simulink . Stateflow . , . Simulink Stateflow, . : Simulink, Stateflow.

+1

Currently, I also participate in both simulink and stateflow. So far I have done everything in Simulink, but as soon as you have to implement the logic (if, case), your model becomes visually difficult to analyze after coding. But I think that theoretically you can do everything simply in Simulink (correct me if I am wrong).

Macduff's answer explains very good differences.

Regards, GR

0
source

All Articles