| Contents | Index |
componentArgs = rtw.connectivity.ComponentArgs (componentPath,
componentCodePath, componentCodeName, applicationCodePath)
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.
| Method | Syntax and Description |
|---|---|
| getComponentPath | componentPath = obj.getComponentPath |
| Returns the Simulink system path of the source component (e.g., the path of the referenced model that is under test). | |
| getComponentCodePath | componentCodePath = 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). | |
| getComponentCodeName | componentCodeName = obj.getComponentCodeName |
| Returns the component name used for code generation. | |
| getApplicationCodePath | applicationCodePath = 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.

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 |