getState
Get AUTOSAR mapping information for Simulink block state
Syntax
Description
returns the type of AUTOSAR variable mapped to the Simulink® block state associated with state owner block
arValue = getState(slMap,slStateOwnerBlock)slStateOwnerBlock. AUTOSAR variable types include
ArTypedPerInstanceMemory and
StaticMemory.
returns the type of AUTOSAR variable mapped to Simulink state arValue = getState(slMap,slStateOwnerBlock,slState)slState associated with state owner block
slStateOwnerBlock. Specify a nonempty
slState argument only for blocks with multiple
states.
returns the value of property arValue = getState(slMap,slStateOwnerBlock,slState,arProperty)arProperty for the AUTOSAR
variable to which the Simulink block state is mapped.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018b