Main Content

Components

Create the structure and behavior of component models intended for code generation

A component is a modeling construct that you can design and configure to meet code generation requirements. A component publishes its interface to interact with other components in a system composition. You configure a component for deployment to a target platform. When designing a component model that is intended for code generation, consider application algorithm requirements, the expected platform environment, and how to best map the embedded system architecture to the Simulink® modeling environment. To achieve optimal code generation results, use recommended modeling styles and patterns that align with your component requirements. Consider requirements for scheduling, communication, and service interfacing.

To get started, see Component Model Design for Deployment.

Topics

Component Model Design

Function Interfaces

Communication Interfaces

Service Interfaces

  • Data Transfer Interfaces
    Design a component that transfers data between functions called by middleware.
  • Nonvolatile Memory Interfaces
    Design a component that needs to retain stored information across system power cycles.
  • Parameter Tuning Interfaces
    Design a component that enables middleware to provide access to parameters that you might need to reset during execution.
  • Measurement Interfaces
    Design a component that provides middleware with access to signal data that you might need to measure or monitor during execution.