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.

Answers (1)

Abhishek Ballaney
Abhishek Ballaney on 12 Jan 2018

0 votes

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

Categories

Find more on Decision Logic in Help Center and File Exchange

Tags

Asked:

on 31 May 2015

Answered:

on 12 Jan 2018

Community Treasure Hunt

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

Start Hunting!