mapState
Map Simulink block state to AUTOSAR variable
Syntax
Description
mapState(
maps the Simulink® block state associated with state owner block
slMap
,slStateOwnerBlock
,'',arVarType
)slStateOwnerBlock
to an AUTOSAR variable of type
arVarType
for AUTOSAR run-time calibration. AUTOSAR
variable types include ArTypedPerInstanceMemory
and
StaticMemory
.
mapState(
maps Simulink block state slMap
,slStateOwnerBlock
,slState
,arVarType
)slState
associated with state owner
block slStateOwnerBlock
to an AUTOSAR variable of type
arVarType
. Specify a nonempty slState
argument only for blocks with multiple states.
mapState(
specifies additional properties for an AUTOSAR
slMap
,slStateOwnerBlock
,slState
,arVarType
,Name,Value
)ArTypedPerInstanceMemory
or StaticMemory
variable by using one or more Name,Value
pair arguments.
Examples
Input Arguments
Version History
Introduced in R2018b