Skip to Main Content Skip to Search
Product Documentation

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.

Input Arguments

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.

Output Arguments

successTrue if function is successful. False otherwise.

Examples

importer_obj.createCalibrationComponentObjects('/package/autosar_component2')

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