Set
I/O data element
Syntax
autosarInterfaceObj.setIODataElement(portName,dataElement)
Description
autosarInterfaceObj.setIODataElement(portName,dataElement) updates
the name of the I/O data element in the configuration for the specified
port.
autosarInterfaceObj is a model-specific RTW.AutosarInterface object.
By default the AUTOSAR port name, data element name, and interface
name are the same as the Simulink port name.
Inputs
| portName | Name of the inport/outport (string). |
| dataElement | Name of the I/O data element for portName (string). |
See Also
Using the Configure AUTOSAR Interface Dialog Box in
the Real-Time Workshop Embedded Coder documentation
 | setIODataAccessMode (RTW.AutosarInterface) | | setIOInterfaceName (RTW.AutosarInterface) |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit