Stateflow event vs data

Hi all, I the MATLAB stateflow what exactly is the difference between data and event? Lets assume we have a system which make use of 2 switches which are used by the user, 2 sensors and a clock generator. which of there should I set as data and as events and why?
Thanks in advance.

回答(1 个)

Abhishek Ballaney
Abhishek Ballaney 2018-1-12

0 个投票

https://in.mathworks.com/help/stateflow/ug/view-differences-between-messages-events-and-data-1.html

类别

帮助中心File Exchange 中查找有关 Decision Logic 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by