MathWorks - Mobile View
  • Sign In to Your MathWorks AccountSe connecter
  • Access your MathWorks Account
    • Mon compte
    • Mon profil
    • Mes licences
    • Se déconnecter
  • Produits
  • Solutions
  • Le monde académique
  • Support
  • Communauté
  • Événements
  • Obtenir MATLAB
MathWorks
  • Produits
  • Solutions
  • Le monde académique
  • Support
  • Communauté
  • Événements
  • Obtenir MATLAB
  • Sign In to Your MathWorks AccountSe connecter
  • Access your MathWorks Account
    • Mon compte
    • Mon profil
    • Mes licences
    • Se déconnecter

Vidéos et webinars

  • MathWorks
  • Vidéos
  • Vidéos
  • Recherche
  • Vidéos
  • Recherche
  • Contacter un commercial
  • Version d'essai
  Register to watch video
  • Description
  • Full Transcript
  • Related Resources

What Is Stateflow?

Kishen Mahadevan, MathWorks

Stateflow® provides a graphical language that includes state transition diagrams, flow charts, state transition tables, and truth tables. Use Stateflow to describe how MATLAB® algorithms and Simulink® models react to input signals, events, and time-based conditions.

Design and develop supervisory control, task scheduling, fault management, communication protocols, user interfaces, and hybrid systems.

Model combinatorial and sequential decision logic that can be simulated as a block within a Simulink model or executed as an object in MATLAB. Use graphical animation for analyzing and debugging your logic while it is executing. Edit-time and run-time checks ensure design consistency and completeness before implementation.

Stateflow simplifies designing systems that contain complex logic, or switch between multiple modes of operation, by leveraging state diagrams, flow charts, and truth tables.

Stateflow is used to develop applications such as supervisory control and task scheduling, fault management, test and measurement and interface logic and communication protocols.

A single chart can represent an entire specification document. But these diagrams aren’t just static pictures. Stateflow charts are blocks in a Simulink model, - Just click the run button and see that they are part of a larger modeling and simulation environment that enables you to simulate and evaluate your design’s performance and behavior.

Stateflow animation and graphical debugging enables you to examine how your design transitions between states.

You can review how your scenario unfolded with diagnostic tools like the sequence viewer.

You can link your design directly to requirements, check that it complies with industry standards, and collect coverage metrics ensuring everything is working correctly.

Once you have verified and validated your design’s behavior, you can automatically generate C/C++, HDL, and PLC code. This lets you leverage your work directly on implementation platforms without writing thousands of lines of code by hand.

Similarly, you can automate the creation of the documentation that accompanies your design.

If you develop MATLAB applications without using Simulink models, you can still use Stateflow to simplify your designs.

In MATLAB,  Stateflow charts are represented as objects that you can use to program robots or anywhere timing is important.

The same State chart can represent the logic for multiple objects. This makes it simple to change the number of objects in a scenario.

To learn more or start a trial please refer to the Stateflow product page.

Related Products

  • Stateflow

Learn More

Getting started with Stateflow
Stateflow Onramp Overview
Design Combinatorial and Sequential Logic for MATLAB programs using State Machines in Stateflow
Execution in MATLAB
Get Started with Stateflow Onramp
Related Information
Deep Learning and Traditional Machine Learning: Choosing the Right Approach

Feedback

Featured Product

Stateflow

  • Request Trial
  • Get Pricing

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

Select web site

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Contacter un commercial
  • Version d'essai

Découvrir les produits

  • MATLAB
  • Simulink
  • Version étudiante
  • Support Hardware
  • File Exchange

Essayer ou Acheter

  • Téléchargements
  • Version d'essai
  • Contacter un commercial
  • Tarifs et licences
  • Comment acheter

Se Former

  • Documentation
  • Tutoriels
  • Exemples
  • Vidéos et webinars
  • Formation

Obtenir de l'aide

  • Aide à l'installation
  • Forum MATLAB
  • Services de consulting
  • Gestion Licences
  • Contacter le support technique

La société

  • Offres d'emploi
  • Actualités
  • Social Mission
  • Contacter un commercial
  • La société

MathWorks

Accelerating the pace of engineering and science

MathWorks est le leader mondial des logiciels de calcul mathématique pour les ingénieurs et les scientifiques.

Découvrir…

  • Select a Web Site United States
  • Brevets
  • Marques déposées
  • Charte de confidentialité
  • Lutte anti-piratage
  • État des applications

© 1994-2021 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Rejoignez la conversation