Course Highlights
Stateflow for Logic-Driven System Modeling is a hands-on course that covers the use of Stateflow in implementing complex decision flows and finite-state machines. The course is designed for Simulink users who wish to model and simulate event driven and logic systems. It focuses on how to employ flow graphs, state machines, and truth tables in Simulink designs. Topics include:
- Modeling complex logic flows
- Modeling state machines
- Implementing hierarchical state machines
- Implementing multiprocessing state machines
- Using events in state charts
- Calling functions from state charts
- Implementing truth tables
- Managing the Stateflow design interface
Course Objectives
The aim of the course is to provide general knowledge for participants to use Stateflow for modeling logic-driven system.
Who Must Attend
Engineer, researchers, scientists, and managers who are involved in modeling complex decision flows and finite-state machines. It is also strongly recommended for those who would like to establish and strengthen their foundation in simulating event driven and logic systems.
Course Benefits
Upon the completion of the course, the participants will gain a comprehensive understanding on utilizing the Stateflow to design and develop complex logic flow, to model state machines, to implement truth tables, and to incorporate Matlab algorithms into Stateflow designs.
Prerequisites
Attended “Comprehensive SIMULINK ” or equivalent experience in using SIMULINK.
Course Outline
Modeling Complex Logic Flows
Objective: Explain how to implement decision flows with flow diagrams.
- What is a flow graph
- Constructing a flow graph
- Semantics of a flow graph
- Reusing a flow graph
Modeling State Machines
Objective: Explain how to implement state machines with state diagrams.
- What is a state machine?
- Constructing a state machine
- State actions
- Semantics of a state transition
- Inner flow graphs
Implementing Hierarchical State Machines
Objective: Explain how to implement hierarchical diagrams to improve clarity of state machine designs.
- Why use hierarchy
- Constructing a multilevel state machine
- Behavior of a multilevel state machine
- Recovering active substates
- Semantics of a cross-level state transition
Implementing Multiprocessing State Machines
Objective: Explains how to implement parallel states to model multiprocessing designs.
- Why use parallelism?
- Constructing a multiprocessing state machine
- Behavior of parallel states
Using Events in State Charts
Objective: Explains how to use events within a Stateflow chart to affect chart execution.
- Using events in state charts
- Broadcasting events
- Behavior of state charts that contain events
- Implicit events
- Temporal logic operators
Calling Functions from State Charts
Explains how to create functions in a Stateflow chart out of Simulink blocks, MATLAB code, and flow graphs.
- Types of functions available
- Simulink functions
- Embedded MATLAB functions
- Graphical functions
Implementing Truth Tables
Objective: Explain how to implement truth tables.
- What is a truth table
- Constructing a truth table
- Populating the condition and action tables
- Specifying the decision set
- Binding actions to the decision set
Managing Stateflow Design Interface
Objective: Explains how to reuse Stateflow designs and interact with Simulink data.
- Considering the design interface in Stateflow® software
- Accessing bus signals and data store memory
- Creating a reusable design with Stateflow software
- Sharing data and functions with other charts
|