Main Content

Application and Component Interfaces

Set up application and component interfaces for interacting with target environment software

Applications and components are units of code, which the code generator produces from top models. Deploy applications and components for use in target execution environments. For the code generator to produce C or C++ code that can interact with target environment services, you must make the code generator aware of service interface requirements by using a combination of:

  • Model elements in your top model

  • A code interface configuration defined in an Embedded Coder Dictionary (C only)

  • Code mappings that associate the model elements with interfaces defined in the code interface configuration

Generated application and component code interacts with target environment services through these generated code interfaces:

  • Entry-point functions that target software, such as a scheduler, can call

  • Function calls to target software, such as platform service functions