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 ExchangeDecision Logic についてさらに検索

タグ

質問済み:

2015 年 5 月 31 日

回答済み:

2018 年 1 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by