Chart Libraries

Encapsulation of polymorphic control logic

Examples and How To

Create Specialized Chart Libraries for Large-Scale Modeling

Add Stateflow® charts with polymorphic logic to a Simulink® model.


When to Use Chart Libraries

In Simulink, you can create your own block libraries as a way to reuse the functionality of blocks or subsystems in one or more models.

Properties You Can Specialize Across Instances of Library Blocks

You can specialize instances of Stateflow library blocks by allowing them to inherit any of the following properties from Simulink.

Limitations of Library Charts

Events parented by a library Stateflow machine are invalid.

Was this topic helpful?