Simulink vs Stateflow application for sensor

조회 수: 3 (최근 30일)
Hidd_1
Hidd_1 2021년 7월 11일
답변: Yoshi Minagawa 2021년 7월 14일
Hey!
I am working on integrating a sensor in an Simulink block, such that when the sensor detect a gaz it should send a boolian "1" out.
My collegue told me that Stateflow is the right tool to that, but I never worked with Stateflow and I don't know what it does.
I was wondering if someone can explain that to me, and give me his/her opinion about the matter.
Thanks in advance,
Br,

채택된 답변

Yoshi Minagawa
Yoshi Minagawa 2021년 7월 14일
Hi Hidd,
Using Stateflow, you can make Sequence control very easily. (for example, schedulers, fault management systems, and supervisory mode logic, etc.) Therefore, it is a very useful tool when building control logic such as switching according to certain conditions.
You can learn the functions and usage of Statefow from the URL below. Please use it if you like.
https://mathworks.com/learn/tutorials/stateflow-onramp.html
I hope this will help.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by