Simulink vs Stateflow application for sensor
4 views (last 30 days)
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,
Yoshi Minagawa on 14 Jul 2021
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.
I hope this will help.