Main Content

Library Subsystems

Generate and reuse code for subsystems included in a library that is configured for reuse

A library subsystem is a subsystem included in a library that you can configure for function reuse. To reuse common functionality, you can include multiple instances of a subsystem within a single model, across multiple referenced and top models.

Library-based code generation provides a way of generating code for a set of reusable components that models can share. For each top-level reusable library subsystem, you specify a set of function interfaces that lock down the subsystem interface.