Adaptive Component
Libraries:
AUTOSAR Blockset
Description
In an AUTOSAR architecture model, you use the composition editor and the Simulink® Toolstrip Modeling tab to add and connect compositions and components. Use the Adaptive Component block to add an adaptive software component to an AUTOSAR adaptive software design.
To add and connect AUTOSAR components:
From the Modeling tab, configure the platform kind for the architecture model by setting Platform to
Adaptive
.For each component required by the design, from the Modeling tab or the palette to the left of the canvas, add an Adaptive Component block. You can view the component Kind in the Property Inspector. For adaptive components, the component kind is
AdaptiveApplication
.Add component require ports and provide ports. To add each component port, click an edge of a Adaptive Component block. When port controls appear, select Input or Client for a require port, or Output or Server for a provide port.
To connect the Adaptive Component blocks to other blocks, connect the block ports with signal lines.
To connect the Adaptive Component blocks to architecture or composition model root ports, drag a line from the component ports to the containing model boundary. Releasing the connection creates a root port at the boundary.
Configure additional AUTOSAR properties using the Property Inspector.
After you add and connect AUTOSAR components, add Simulink behavior to the AUTOSAR components by creating, importing, or linking models.
If you have Requirements Toolbox™ software, you can link components in an AUTOSAR architecture model to Simulink requirements.
Each Adaptive Component block represents an adaptive application. Upon deployment, each adaptive component is treated as an executable.
Ports
Input
Output
Version History
Introduced in R2023a