Chart Programming Basics

Guidelines for building Stateflow® charts

Examples and How To

Basic Approach for Modeling Event-Driven Systems

Basic approach for modeling event-driven systems with Stateflow charts

Model Event-Driven System

Identify Data Using Dot Notation

How to use dot notation for qualified data names

Modify the Action Language for a Chart

Describes how to change the action language property for a chart.

Use C Chart to Model Event-Driven System

Explains the basic workflow for building a Stateflow chart with C expressions


Modeling Guidelines for Stateflow Charts

These guidelines promote efficient modeling of charts with events, states, and transitions.

Overview of Stateflow Objects

Introduces graphical and nongraphical objects that are organized into a hierarchical structure

Rules for Naming Stateflow Objects

You can name Stateflow objects with any combination of alphanumeric and underscore characters.

Manage Stateflow Data, Events, and Messages in the Symbols Window

Add, delete, and manage nongraphical objects in the Stateflow editor

Stateflow Editor Operations

Describes each part of the Stateflow Editor window that displays the chart you create. Shows you how to customize Stateflow Editor menus.

Modeling Rules That Stateflow Detects During Edit Time

Discover modeling errors as you design in the Stateflow editor.

Action Language Auto Correction

Auto correction description for MAL charts.

Differences Between MATLAB and C as Action Language Syntax

MATLAB® syntax in states and transitions

Was this topic helpful?