Skip to Main Content Skip to Search
Product Documentation

rtw.connectivity.ComponentArgs - Provide parameters to each target connectivity component

Syntax

componentArgs = rtw.connectivity.ComponentArgs (componentPath, componentCodePath, componentCodeName, applicationCodePath)

Description

Syntax of constructor ComponentArgs:

componentArgs = rtw.connectivity.ComponentArgs (componentPath, componentCodePath, componentCodeName, applicationCodePath)

You can use the methods of this class to get information about the source component (e.g., the referenced model under test) and the target application (e.g., the PIL application).

For methods, see the following table.

MethodSyntax and Description
getComponentPathcomponentPath = obj.getComponentPath
Returns the Simulink system path of the source component (e.g., the path of the referenced model that is under test).
getComponentCodePathcomponentCodePath = obj.getComponentCodePath
Returns the Embedded Coder code generation directory path associated with the source component (e.g., the code generation directory of the referenced model that is under test).
getComponentCodeNamecomponentCodeName = obj.getComponentCodeName
Returns the component name used for code generation.
getApplicationCodePathapplicationCodePath = obj.getApplicationCodePath
Returns the directory path associated with the target application (e.g., the path associated with the PIL application).

See rtw.connectivity.Config for more information.

See Also

rtw.connectivity.Config

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