Using Stateflow     Search    Help Desk 

Chapter 7
Semantics


Overview

What Are Semantics?

Semantics describe how the notation is interpreted and implemented. A completed Stateflow diagram communicates how the system will behave. A Stateflow diagram contains actions associated with transitions and states. The semantics describe in what sequence these actions take place during Stateflow diagram execution.

Knowledge of the semantics is important to make sound Stateflow diagram design decisions for code generation. Different use of notations results in different ordering of simulation and generated code execution.

Stateflow semantics consist of rules for:

The details of Stateflow semantics are described largely by examples in this chapter. The examples cover a range of various notations and combinations of state and transition actions.

See "Semantic Rules Summary" for a summary of the semantics.

List of Semantic Examples

This is a list of the semantic examples provided in this chapter.

Contents of Section "Transitions to and from Exclusive (OR) States"

Contents of Section "Condition Actions"

Contents of Section "Default Transitions"

Contents of Section "Inner Transitions"

Contents of Section "Connective Junctions"

Contents of Section "Event Actions"

Contents of Section "Parallel (AND) States"

Contents of Section "Directed Event Broadcasting"



[ Previous | Help Desk | Next ]