主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

AUTOSAR 标定和测量数据

为运行时标定和测量配置组件数据

AUTOSAR 参数和变量支持使用标定和测量工具对 AUTOSAR 应用程序进行运行时调节和监控。创建了一个映射到 AUTOSAR 软件组件的 Simulink® 模型后,您可以使用代码映射编辑器或等效的 AUTOSAR 映射函数来配置以下元素的代码和标定属性:

  • 映射到以下各项的模型参数或查找表:

    • AUTOSAR 常量内存

    • AUTOSAR 内部标定参数

    • AUTOSAR 端口参数

  • 映射到以下各项的信号、状态或数据存储:

    • AUTOSAR 静态内存

    • AUTOSAR 实例内存

  • 映射到 AUTOSAR 可运行实体的模型入口函数

  • 模型入口函数中的内部数据

模块

CurveApproximate one-dimensional function
Curve Using PrelookupUse previously calculated index and fraction values to accelerate approximation of one-dimensional function
MapApproximate two-dimensional function
Map Using PrelookupUse previously calculated index and fraction values to accelerate approximation of two-dimensional function
PrelookupCompute index and fraction for a Curve Using Prelookup or Map Using Prelookup block
Single Point InterpolationPerform single point interpolation (自 R2023a 起)
RampGenerate signal that follows input value bound by rising or falling slope (自 R2023b 起)

工具

代码映射编辑器Map AUTOSAR elements for code generation

函数

addSignalAdd Simulink block signal to AUTOSAR mapping
getDataStoreGet AUTOSAR mapping information for Simulink data store
getFunctionGet AUTOSAR mapping information for Simulink entry-point function
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
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

主题