Skip to Main Content Skip to Search
Home |   Nordic  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Solutions Academia Support User Community Company

 

Training - Courses

SLSF: Stateflow for Logic Driven System Modeling

Stateflow for Logic-Driven System Modeling is a two-day, 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
VIEW SCHEDULE and Register SHARE with Manager/Colleague
 
 Detailed course outline

 

Day 1 of 2
Introduction

Objective: Obtain a quick overview of The MathWorks and discuss course logistics.

Modeling Complex Logic Flows

Objective: Explains 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: Explains 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

 

Day 2 of 2
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

Objective: 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: Explains 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

Prerequisites

MATLAB Fundamentals and Simulink for System and Algorithm Modeling, or working experience with MATLAB and Simulink. Knowledge of C programming is helpful.

Course Length - 2 days

Request training
E-mail this page
Print this page