Software Component

Model software component in AUTOSAR architecture model

Library

AUTOSAR Blockset

  • Software Component block

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 Software Component block to add a software component to an AUTOSAR software design.

To add and connect AUTOSAR components:

  • For each component required by the design, from the Modeling tab or the palette, add a Software Component block. You can use the Property Inspector to set the component KindApplication, ComplexDeviceDriver, EcuAbstraction, SensorAccuator, or ServiceProxy. (Application and SensorAccuator are common.)

  • Add component require and provide ports. To add each component port, click an edge of a Software Component block. When port controls appear, select Input for a require port or Output for a provide port.

  • To connect the Software Component blocks to other blocks, connect the block ports with signal lines.

  • To connect the Software Component blocks to architecture or composition model root ports, drag from the component ports to the containing model boundary. When you release the connection, a root port is created 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 Simulink Requirements™ software, you can link components in an AUTOSAR architecture model to Simulink requirements.

Introduced in R2019b