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 Customize Properties 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 (Simulink).

Was this topic helpful?