Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop Embedded Coder   

createCalibrationComponentObjects - Class: arxml.importer
Package: arxml

Create Simulink calibration objects from AUTOSAR calibration component

Syntax

importerObj.createCalibrationComponentObjects(componentName)
[success] = createCalibrationComponentObjects(importerObj. componentName, CreateSimulinkObject, 'true')

Description

importerObj.createCalibrationComponentObjects(componentName) creates Simulink calibration objects from an AUTOSAR calibration component. This imports all your parameters into the Workspace and you can then assign them to block parameters in your Simulink model.

Inputs

componentNameAbsolute short name path of calibration parameter component.
CreateSimulink Object, 'true'

Optional property/value pair. The property CreateSimulinkObject can be either true or false (default is true). If it is true, then:

[success] = createCalibrationComponentObjects(importerObj. componentName, CreateSimulinkObject, 'true') creates the Simulink.AliasType and Simulink.NumericType corresponding to the AUTOSAR data types described in the XML file imported by importerObj.

Outputs

successTrue if function is successful. False otherwise.

Examples

importer_obj.createCalibrationComponentObjects('/package/autosar_component2')

See Also

Importing an AUTOSAR Software Component in the Real-Time Workshop Embedded Coder documentation

  


Related Products & Applications

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

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