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
| componentName | Absolute 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
| success | True 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
 | createAndSetCImplementationReturn | | createComponentAsModel (arxml.importer) |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit