Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Chart Programming Basics

Guidelines for building Stateflow® charts

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

Basic Approach for Modeling Event-Driven Systems

Basic approach for modeling event-driven systems with Stateflow charts

Overview of Stateflow Objects

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

Modeling Guidelines for Stateflow Charts

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

Model Event-Driven System

Learn how to program a chart based on the operating modes of the 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.

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

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.

Use C Chart to Model Event-Driven System

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

Differences Between MATLAB and C as Action Language Syntax

MATLAB syntax in states and transitions

Action Language Auto Correction

Auto correction description for MAL charts.

Rules for Naming Stateflow Objects

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

Modeling Rules That Stateflow Detects During Edit Time

Discover modeling errors as you design in the Stateflow editor.

Was this topic helpful?