Contenido principal

AUTOSAR Calibration and Measurement Data

R2026b
Configure component data for run-time calibration and measurement

AUTOSAR parameters and variables support run-time tuning and monitoring of an AUTOSAR application with calibration and measurement tools. After you create a Simulink® model mapped to an AUTOSAR software component, you can use the Code Mappings editor or equivalent AUTOSAR map functions to configure code and calibration attributes for the following elements:

  • Model parameter or lookup table mapped to:

    • AUTOSAR constant memory

    • AUTOSAR internal calibration parameter

    • AUTOSAR port parameter

  • Signal, state, or data store mapped to:

    • AUTOSAR static memory

    • AUTOSAR per-instance memory

  • Model entry-point function mapped to AUTOSAR runnable

  • Internal data inside a model entry-point function

Blocks

Curve blockCurveApproximate one-dimensional function
Curve Using Prelookup blockCurve Using PrelookupUse previously calculated index and fraction values to accelerate approximation of one-dimensional function
Map blockMapApproximate two-dimensional function
Map Using Prelookup blockMap Using PrelookupUse previously calculated index and fraction values to accelerate approximation of two-dimensional function
Cuboid Using Prelookup blockCuboid Using PrelookupUse previously calculated index and fraction values to accelerate approximation of three-dimensional function (Since R2026b)
Prelookup blockPrelookupCompute index and fraction for a Curve Using Prelookup or Map Using Prelookup block
Single Point Interpolation blockSingle Point InterpolationPerform single point interpolation (Since R2023a)
Ramp blockRampGenerate signal that follows input value bound by rising or falling slope (Since R2023b)

Tools

Code Mappings EditorMap AUTOSAR elements for code generation

Functions

addSignalAdd Simulink block signal to AUTOSAR mapping
getDataStoreGet AUTOSAR mapping information for Simulink data store
getFunctionGet AUTOSAR mapping information for Simulink entry-point function
getInportGet AUTOSAR mapping information for Simulink inport
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
mapFunctionMap Simulink entry-point function to AUTOSAR runnable and software address methods
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

Topics

Configure AUTOSAR Calibration Data and Memory

Configure AUTOSAR Parameters and Signals

Model and Configure Lookup Tables for AUTOSAR Code Generation