Skip to Main Content Skip to Search
Product Documentation

setIODataElement - Class: RTW.AutosarInterface
Package: RTW

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.

Input Arguments

portNameName of the inport/outport (string).
dataElementName of the I/O data element for portName (string).

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS