AUTOSAR Calibration and Measurement Data
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 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 | 大约一维函数 |
曲线使用预序 | Use previously calculated index and fraction values to accelerate approximation of one-dimensional function |
Map | Approximate two-dimensional function |
Map Using Prelookup | Use previously calculated index and fraction values to accelerate approximation of two-dimensional function |
Prelookup | Compute index and fraction for a Curve Using Prelookup or Map Using Prelookup block |
Tools
Code Mappings Editor | Map AUTOSAR elements for code generation |
Functions
添加信号 |
Add万博1manbetx块信号to AUTOSAR mapping |
GetDatastore |
Get AUTOSAR mapping information for万博1manbetx数据存储 |
getFunction |
Get AUTOSAR mapping information for万博1manbetxentry-point function |
getParameter |
Get AUTOSAR mapping information for万博1manbetxmodel workspace parameter |
getSignal |
Get AUTOSAR mapping information for万博1manbetx块信号 |
GetState |
Get AUTOSAR mapping information for万博1manbetxblock state |
MAPDATASTORE |
Map万博1manbetx数据存储到Autosar变量 |
mapFunction |
Map万博1manbetxentry-point function to AUTOSAR runnable and software address methods |
mapParameter |
Map万博1manbetxmodel workspace parameter to AUTOSAR component parameter |
mapSignal |
Map万博1manbetx块信号to AUTOSAR variable |
mapState |
Map万博1manbetxblock state to AUTOSAR variable |
removeSignal |
Remove万博1manbetx块信号from AUTOSAR mapping |
Topics
- Map AUTOSAR Elements for Code Generation
Use Code Mappings editor to view and map AUTOSAR software component from Simulink perspective.
- 配置用于汽车校准和测量的参数和信号
Configure Simulink® model workspace parameters and signals for AUTOSAR run-time calibration and measurement.
- Map Calibration Data for Submodels Referenced from AUTOSAR Component Models
使用代码映射编辑器查看和映射内部数据以作为从AutoSar组件引用的子模型。
- Configure Subcomponent Data for AUTOSAR Calibration and Measurement
For any model in an AUTOSAR model reference hierarchy, you can configure the model data for run-time calibration and measurement.
- Configure AUTOSAR Data for Calibration and Measurement
Define AUTOSAR data properties (
SwDataDefProps
), includingSwCalibrationAccess
,DisplayFormat
, 和SwAddrMethod
. - 配置对AUTOSAR校准一个查找表d Measurement
Implement AUTOSAR integrated and distributed lookups with
Simulink.LookupTable
和Simulink.Breakpoint
objects. - 配置AutoSar / nastance内存
Configure AUTOSAR per-instance memory (PIM) by using block signals, discrete states, or data store memory.
- Configure AUTOSAR Static Memory
Configure AUTOSAR static memory by using block signals, discrete states, or data store memory.
- 配置AutoSar常数内存
Configure AUTOSAR constant memory by using model workspace parameters.
- Configure AUTOSAR Shared or Per-Instance Parameters
Configure AUTOSAR shared or per-instance parameters by using model workspace parameters.
- Configure AUTOSAR Port Parameters for Communication with Parameter Component
配置AutoSar参数接收器组件,用于基于端口的访问参数数据。