Configure Model Elements with Service Interface Definitions for Code Generation
R2026bIn service-oriented architecture (SOA), components in the code generated from the model rely on platform-managed services including communication between components, and measuring signals and parameter. These services are functions that model elements call during execution of the generated code. Before generating code, configure each model element with service interface definitions to control how the code uses these services. This configuration process is called mapping.
Service Mappings Categories
There are six categories of platform-provided services, each designed to serve specific types of model elements. You configure each model element with service interface definitions for a service from the appropriate category.
| Service Types | Service Categories | Related Documentation |
|---|---|---|
| One-way communication, used to transmit data from root-level outports of one component to root-level inports of another |
| |
| Two-way communication, used to allow a caller in one component to invoke a function in another component |
| |
| Services that allow parameter tuning during program execution | Parameter Tuning | |
| Services that allow signal measurement during program execution | Signal Measurement |