Edocti
Advanced Technical Training for the Software Engineer of Tomorrow
Edocti Training

Stateflow for Automotive Applications

Intermediate
7 h
4.9 (93 reviews)

Scheduled sessions

No sessions are available at the moment.
Stateflow for Automotive Applications

Stateflow for Automotive: Design and implement highly robust state machines for control logic and complex diagnostics on ECUs.

Master the use of events, transitions, guard conditions, and temporal logic to build deterministic behavior.

Implement hierarchical and parallel states, debouncing logic, and industry-standard mode management patterns.

Gain practical experience: ~70% of the training consists of hands-on labs focused on modeling, simulating, and debugging real-world ECU behaviors.

How this helps: Construct clear, testable, and maintainable logic that integrates seamlessly with Simulink and production code generation.

Who it’s for: Control and embedded engineers, as well as MBD teams, looking for solid practical skills in Stateflow.

The course includes essential verification tips (coverage, assertions) and integration with Simulink Test tools.

Skills You Will Learn

Stateflow Charts Hierarchical & Parallel States Temporal Logic Patterns Mealy & Moore Machines Truth Tables & Logic ECU Debugging & Simulation Model Verification Basics Code Generation Prep

Curriculum

Building models with Simulink

  • Simulink introduction; workspace and signal basics
  • Implement a simple model; simulate and analyze outputs

State machines with Stateflow

  • States and transitions; initialization and execution order
  • State actions (entry/during/exit) and transition actions
  • Events (broadcast/local) and temporal logic (after, every, at)
  • Hierarchy, parallel states and history junctions

Flow charts

  • Junctions and transitions; chart execution semantics
  • Conditions and guards; data scope and typing
  • Mealy vs. Moore style charts; when to choose each

Discrete systems

  • Discrete states and sample times; rate transitions
  • Discrete transfer functions and state-space models
  • Fixed-step simulation tips for deterministic behavior

Continuous systems

  • Continuous states; modeling patterns
  • Zero-crossings and stiffness; avoiding solver chattering
  • Variable-step simulation tips

Solver selection

  • Match solver to system dynamics and discontinuities
  • Recommended settings for mixed discrete/continuous models

Integration patterns & testing

  • Function-call subsystems; integrating charts with plant/control models
  • Bus objects, enumerations and data dictionaries
  • Lightweight test harnesses and coverage (overview)

Course Day Structure

  • Part 1: 09:00–10:30
  • Break: 10:30–10:45
  • Part 2: 10:45–12:15
  • Lunch break: 12:15–13:15
  • Part 3: 13:15–15:15
  • Break: 15:15–15:30
  • Part 4: 15:30–17:30

Did you attend this course?

Your feedback is invaluable to us. Please share your experience with us and help us improve this course for future participants.

Share your feedback

Want to find out more? We are here to help!

Or email us directly at training@edocti.com.