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.

Reusable Components in Charts

Define reusable functions and subcharts to simplify chart design

Create templates for common syntactical structures by using reusable functions. Reuse state components in multiple charts by using atomic subcharts. Incorporate custom code written in C or C++ to augment the capabilities of your Stateflow® chart.

  • Graphical Functions
    Create flow charts containing logic and iterative loop patterns
  • MATLAB Functions
    Write matrix-oriented algorithms for data analysis and visualization
  • Truth Tables
    Represent combinational logic for decision-making applications
  • Atomic Subcharts
    Encapsulate modal logic in reusable subcomponents
  • Custom Code
    Include custom code for simulation and code generation