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.

Respuestas (1)

Abhishek Ballaney
Abhishek Ballaney el 12 de En. de 2018

0 votos

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

Categorías

Más información sobre Decision Logic en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 31 de Mayo de 2015

Respondida:

el 12 de En. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by