Main Content

Software Architecture Modeling

Model and simulate AUTOSAR software architecture (requires System Composer™)

An AUTOSAR architecture model provides resources and a canvas for developing AUTOSAR composition and component models. From the architecture model, you can:

  • Add and connect AUTOSAR compositions and components, or import a composition from ARXML files.

  • Create profiles, stereotypes, and views for architecture analysis.

  • Link components to requirements (requires Requirements Toolbox™).

  • Define component behavior by creating, linking, or importing Simulink® models.

  • Configure scheduling and simulation.

  • Export composition and component ARXML descriptions and generate component code (requires Embedded Coder®).

Architecture models provide an end-to-end AUTOSAR software design workflow. In Simulink, you can author a high-level application design for the Classic or Adaptive Platform, implement behavior for application components, and simulate the application. For classic architecture compositions, you can add Basic Software (BSW) service calls and service implementations.

Tools

Architectural Data EditorManage architectural data (Since R2023b)

Blocks

Classic ComponentModel classic software component in AUTOSAR architecture model (Since R2019b)
Adaptive ComponentModel adaptive software component in AUTOSAR architecture model (Since R2023a)
Software CompositionModel software composition in AUTOSAR architecture model (Since R2019b)
Diagnostic Service ComponentConfigure AUTOSAR Diagnostic Services and Runtime Environment (RTE) for emulation
NVRAM Service ComponentConfigure AUTOSAR NVRAM Services and Runtime Environment (RTE) for emulation
AdapterConnect components with different interfaces (Since R2019a)

Objects

autosar.dictionary.ARClassicPlatformMappingManage platform-specific properties for elements in interface dictionary mapped to AUTOSAR Classic Platform (Since R2022b)
Simulink.dictionary.ArchitecturalDataEdit architectural data in a Simulink data dictionary programmatically (Since R2023b)
Simulink.dictionary.archdata.DataInterfaceEdit data interface in Simulink data dictionary programmatically (Since R2023b)
Simulink.dictionary.archdata.DataElementData element of data interface (Since R2023b)
Simulink.dictionary.archdata.ServiceInterfaceService interface (Since R2023b)
Simulink.dictionary.archdata.FunctionElementFunction in client-server interface (Since R2023b)
Simulink.dictionary.archdata.FunctionArgumentFunction argument in function element of client-server interface (Since R2023b)
Simulink.dictionary.archdata.StructTypeStructure data type (Since R2023b)
Simulink.dictionary.archdata.StructElementStruct element of a struct type (Since R2023b)

Functions

expand all

autosar.arch.createModelCreate AUTOSAR architecture model (Since R2020a)
autosar.arch.loadModelLoad AUTOSAR architecture model (Since R2020a)
addBSWServiceAdd Basic Software component to AUTOSAR classic architecture model (Since R2020a)
addComponentAdd component to AUTOSAR architecture model (Since R2020a)
addCompositionAdd composition to AUTOSAR architecture model (Since R2020a)
addPortAdd port to AUTOSAR component, composition, or architecture model (Since R2020a)
connectConnect AUTOSAR architecture components and compositions (Since R2020a)
createModelCreate Simulink implementation model for AUTOSAR architecture component or composition (Since R2020a)
findFind AUTOSAR architecture elements (Since R2020a)
getGet property of AUTOSAR architecture element (Since R2020a)
getXmlOptionsGet XML option for AUTOSAR architecture model (Since R2020a)
importFromARXMLImport composition from ARXML files into AUTOSAR architecture model (Since R2020b)
setSet property of AUTOSAR architecture element (Since R2020a)
closeClose AUTOSAR architecture model (Since R2020a)
destroyRemove and delete AUTOSAR architecture element (Since R2020a)
exportExport AUTOSAR architecture model ARXML, ASAP2 file, and generate component code (Since R2020a)
linkDictionaryLink data dictionary to AUTOSAR architecture model (Since R2023a)
linkToModelLink AUTOSAR architecture component or composition to Simulink implementation model (Since R2020a)
saveSave AUTOSAR architecture model (Since R2020a)
setPlatformSet platform kind of architecture model to classic or adaptive (Since R2023a)
setXmlOptionsSet XML option for AUTOSAR architecture model (Since R2020a)

Topics

Architecture Model Creation

Architecture Model Development

Simulation

ARXML and Code Generation