This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Chart Programming Basics

Build charts by following these Stateflow® guidelines

Create new and efficient Stateflow charts. Decide whether to design your chart by using MATLAB® or C as the action language. Find and correct errors in your chart with the Stateflow editor.

Topics

Model Stateflow Charts

Finite State Machine Concepts

Explains what a finite state machine is and how it relates to a Stateflow chart

Basic Approach for Modeling Event-Driven Systems

Basic approach for modeling event-driven systems with Stateflow charts

Modeling Guidelines for Stateflow Charts

Use these guidelines to efficiently model charts with events, states, and transitions.

Model Event-Driven System

Learn how to program a chart based on the operating modes of the system.

Stateflow Interface

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.

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

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

Add and Modify Data, Events, and Messages in the Symbols Window

Add objects to your chart in the Stateflow Editor

Trace Data, Events, and Messages Through the Symbols Window

View uses of nongraphical data in the state machine

Resolve Undefined Symbols in Your Chart

Detect and add undefined data, events, and messages.

Modeling Rules That Stateflow Detects During Edit Time

Discover modeling errors as you design in the Stateflow editor.

Common Modeling Errors Stateflow Can Detect

Describes common modeling errors that Stateflow flags.

Use the Search & Replace Tool

Describes how to use the Stateflow Search & Replace tool to search for and replace text belonging to objects in Stateflow charts

State Action Language

Modify the Action Language for a Chart

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

Differences Between MATLAB and C as Action Language Syntax

MATLAB syntax in states and transitions

Use C Chart to Model Event-Driven System

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

Action Language Auto Correction

Auto correction description for charts that use MATLAB as the action language.