Create Specialized Chart Libraries for Large-Scale Modeling

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

    Polymorphic logic is logic that can process data with different properties, such as type, size, and complexity.

  2. Configure the charts to inherit the properties you want to specialize.

    For a list, see Properties You Can Specialize Across Instances of Library Blocks.

  3. Optionally, customize your charts using masking.

  4. Simulate and debug your charts.

  5. In Simulink, create a library model by selecting File > New > Library.

  6. Copy or drag the charts into a library model.

For an example using MATLAB Function blocks, see Create Custom Block Libraries in the Simulink documentation.

Was this topic helpful?