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