Graphical Functions

Create flow charts containing logic and iterative loop patterns

Build flow charts by combining connective junctions and transitions without using any states. To create modular and reusable logic, encapsulate flow charts in graphical functions. Through the Pattern Wizard, generate patterns that comply with guidelines from the MathWorks Automotive Advisory Board (MAAB).

Topics

Reusable Functions in Charts

Specify function calls in states and transitions.

Reuse Logic Patterns by Defining Graphical Functions

Create and execute flow charts in a Stateflow® chart.

Flow Charts in Stateflow

Express combinatorial logic in graphical form.

Create Flow Charts by Using Pattern Wizard

Use the Pattern Wizard to produce MAAB-compliant flow charts.

Convert MATLAB Code into Stateflow Flow Charts

Produce flow charts from your MATLAB® code.

Export Stateflow Functions for Reuse

Extend the scope of your functions to other blocks in a Simulink® model.

Reuse Functions by Using Atomic Boxes

Encapsulate reusable functions in a separate namespace.

Related Information