autosar.api.getSimulinkMapping
Map Simulink elements to AUTOSAR elements
Description
In an AUTOSAR software component model, use AUTOSAR map functions to map model elements to AUTOSAR component elements from a Simulink® model perspective. In an AUTOSAR adaptive model, use AUTOSAR map functions to configure generated C++ class names and namespaces for your adaptive application. For example, you can:
Map a Simulink entry-point function to an AUTOSAR runnable and optional software address methods.
Map a Simulink inport or outport to an AUTOSAR receiver or sender port and a sender-receiver data element.
Map a Simulink model workspace parameter to an AUTOSAR component parameter.
Map a Simulink data store to an AUTOSAR variable.
Add or remove Simulink block signals from AUTOSAR component mapping.
Map a Simulink block signal or state to an AUTOSAR variable.
Set the default data packaging for Simulink internal data stores, signals, and states in AUTOSAR generated code.
Map a Simulink data transfer line to an AUTOSAR inter-runnable variable (IRV).
Map a Simulink function caller to an AUTOSAR client port and a client-server operation.
Control generated C++ class name or namespace for adaptive applications.
Creation
Description
Input Arguments
Object Functions
addSignal | Add Simulink block signal to AUTOSAR mapping |
find | Find AUTOSAR elements |
getClassName | Get class name of model |
getClassNamespace | Get class namespace for a model |
getDataDefaults | Get default end-to-end (E2E) protection method for AUTOSAR component model |
getDataStore | Get AUTOSAR mapping information for Simulink data store |
getDataTransfer | Get AUTOSAR mapping information for Simulink data transfer |
getFunction | Get AUTOSAR mapping information for Simulink entry-point function |
getFunctionCaller | Get AUTOSAR mapping information for Simulink function-caller block |
getInport | Get AUTOSAR mapping information for Simulink inport |
getInternalDataPackaging | Get default internal data packaging for AUTOSAR component model |
getOutport | Get AUTOSAR mapping information for Simulink outport |
getParameter | Get AUTOSAR mapping information for Simulink model workspace parameter |
getSignal | Get AUTOSAR mapping information for Simulink block signal |
getState | Get AUTOSAR mapping information for Simulink block state |
mapDataStore | Map Simulink data store to AUTOSAR variable |
mapDataTransfer | Map Simulink data transfer to AUTOSAR inter-runnable variable |
mapFunction | Map Simulink entry-point function to AUTOSAR runnable and software address methods |
mapFunctionCaller | Map Simulink function-caller block to AUTOSAR client port and operation |
mapInport | Map Simulink inport to AUTOSAR port |
mapOutport | Map Simulink outport to AUTOSAR port |
mapParameter | Map Simulink model workspace parameter to AUTOSAR component parameter |
mapSignal | Map Simulink block signal to AUTOSAR variable |
mapState | Map Simulink block state to AUTOSAR variable |
removeSignal | Remove Simulink block signal from AUTOSAR mapping |
setClassName | Set class name of model |
setClassNamespace | Set class namespace of model |
setDataDefaults | Set default end-to-end (E2E) protection method for AUTOSAR component model |
setInternalDataPackaging | Set default internal data packaging for AUTOSAR component model |
Examples
Version History
Introduced in R2013b