Stateflow.AtomicBox
Atomic box in chart, state, box, or function
Description
Use Stateflow.AtomicBox
objects to encapsulate graphical, truth
table, MATLAB®, and Simulink® functions in a separate namespace. Atomic boxes allow for:
Faster simulation after making small changes to a function in a chart with many states or levels of hierarchy
Reuse of the same functions across multiple charts and models
Ease of team development for people working on different parts of the same chart
Manual inspection of generated code for a specific function in a chart
For more information, see Reuse Functions by Using Atomic Boxes.