<s>
Stateflow	B-Language
(	O
developed	O
by	O
MathWorks	O
)	O
is	O
a	O
control	O
logic	O
tool	O
used	O
to	O
model	O
reactive	O
systems	O
via	O
state	B-Architecture
machines	I-Architecture
and	O
flow	B-Language
charts	I-Language
within	O
a	O
Simulink	B-Application
model	O
.	O
</s>
<s>
Stateflow	B-Language
uses	O
a	O
variant	O
of	O
the	O
finite-state	B-Architecture
machine	I-Architecture
notation	O
established	O
by	O
David	O
Harel	O
,	O
enabling	O
the	O
representation	O
of	O
hierarchy	O
,	O
parallelism	O
and	O
history	O
within	O
a	O
state	O
chart	O
.	O
</s>
<s>
Stateflow	B-Language
also	O
provides	O
state	B-Application
transition	I-Application
tables	I-Application
and	O
truth	O
tables	O
.	O
</s>
<s>
Stateflow	B-Language
is	O
generally	O
used	O
to	O
specify	O
the	O
discrete	O
controller	O
in	O
the	O
model	O
of	O
a	O
hybrid	O
system	O
where	O
the	O
continuous	O
dynamics	O
(	O
i.e.	O
,	O
the	O
behavior	O
of	O
the	O
plant	O
and	O
environment	O
)	O
are	O
specified	O
using	O
Simulink	B-Application
.	O
</s>
<s>
Specific	O
applications	O
for	O
Stateflow	B-Language
include	O
:	O
</s>
<s>
A	O
number	O
of	O
MathWorks	O
and	O
third-party	O
tools	O
can	O
be	O
used	O
with	O
Stateflow	B-Language
to	O
validate	O
the	O
design	O
and	O
generate	O
code	O
.	O
</s>
<s>
For	O
example	O
,	O
Simulink	B-Application
Verification	O
and	O
Validation	O
,	O
a	O
MathWorks	O
tool	O
,	O
can	O
be	O
used	O
to	O
check	O
for	O
requirements	O
traceability	O
and	O
model	O
coverage	O
analysis	O
.	O
</s>
