GetState
Get AUTOSAR mapping information for万博1manbetxblock state
Syntax
Description
returns the type of AUTOSAR variable mapped to the Simulink®block state associated with state owner blockarValue
= getState(slMap
,SlstateOwnerBlock
)SlstateOwnerBlock
。AUTOSAR variable types includeArTypedPerInstanceMemory
和StaticMemory
。
返回映射到simulink状态的autosar变量的类型万博1manbetxarValue
= getState(slMap
,SlstateOwnerBlock
,Slstate
)Slstate
associated with state owner blockSlstateOwnerBlock
。Specify a nonemptySlstate
argument only for blocks with multiple states.
returns the value of propertyarValue
= getState(slMap
,SlstateOwnerBlock
,Slstate
,Arproperty
)Arproperty
for the AUTOSAR variable to which the Simulink block state is mapped.