Main Content

AUTOSAR Programmatic Interfaces

Configure and map component programmatically

AUTOSAR Blockset provides programmatic interfaces that you can use to refine the Simulink® representation of an AUTOSAR software component. You can:

  • Use AUTOSAR map functions to map Simulink elements to AUTOSAR elements.

  • Use AUTOSAR property functions to add AUTOSAR elements and modify element properties.

  • Use AUTOSAR component configuration functions to synchronize an AUTOSAR model with Simulink changes, validate an AUTOSAR configuration, or open or close the AUTOSAR Dictionary.

  • Use ARXML importer functions to update an AUTOSAR model based on external component changes or import AUTOSAR packages containing shared element definitions.

To get started, see AUTOSAR Property and Map Function Examples.

Functions

expand all

autosar.api.getSimulinkMappingMap Simulink elements to AUTOSAR elements
addSignalAdd Simulink block signal to AUTOSAR mapping
getDataStoreGet AUTOSAR mapping information for Simulink data store
getDataTransferGet AUTOSAR mapping information for Simulink data transfer
getFunctionGet AUTOSAR mapping information for Simulink entry-point function
getFunctionCallerGet AUTOSAR mapping information for Simulink function-caller block
getInportGet AUTOSAR mapping information for Simulink inport
getInternalDataPackagingGet default internal data packaging for AUTOSAR component model
getOutportGet AUTOSAR mapping information for Simulink outport
getParameterGet AUTOSAR mapping information for Simulink model workspace parameter
getSignalGet AUTOSAR mapping information for Simulink block signal
getStateGet AUTOSAR mapping information for Simulink block state
mapDataStoreMap Simulink data store to AUTOSAR variable
mapDataTransferMap Simulink data transfer to AUTOSAR inter-runnable variable
mapFunctionMap Simulink entry-point function to AUTOSAR runnable and software address methods
mapFunctionCallerMap Simulink function-caller block to AUTOSAR client port and operation
mapInportMap Simulink inport to AUTOSAR port
mapOutportMap Simulink outport to AUTOSAR port
mapParameterMap Simulink model workspace parameter to AUTOSAR component parameter
mapSignalMap Simulink block signal to AUTOSAR variable
mapStateMap Simulink block state to AUTOSAR variable
removeSignalRemove Simulink block signal from AUTOSAR mapping
setInternalDataPackagingSet default internal data packaging for AUTOSAR component model
autosar.api.getAUTOSARPropertiesConfigure AUTOSAR software component elements and properties
addAdd property to AUTOSAR element
addPackageableElementAdd element to AUTOSAR package in model
createEnumerationCreate Simulink enumeration data type definition from imported AUTOSAR data elements
createNumericTypeCreate Simulink numeric data type definition from imported AUTOSAR data elements
deleteDelete AUTOSAR element
deleteUnmappedComponentsDelete unmapped AUTOSAR components from model
findFind AUTOSAR elements
getGet property of AUTOSAR element
setSet property of AUTOSAR element
autosar.api.createCreate or update mapped AUTOSAR component model
autosar.api.deleteDelete AUTOSAR properties and mapping for Simulink model
autosar.api.syncModelUpdate Simulink to AUTOSAR mapping of model with Simulink modifications
autosar.api.validateModelValidate AUTOSAR properties and mapping of Simulink model
autosar_ui_launchOpen AUTOSAR Dictionary dialog box
autosar_ui_closeClose AUTOSAR Dictionary dialog box
updateAUTOSARPropertiesUpdate model with ARXML definitions from AUTOSAR element packages
updateModelUpdate AUTOSAR model with ARXML changes

Topics