| Contents | Index |
Create Simulink calibration objects from AUTOSAR calibration component
importerObj.createCalibrationComponentObjects(componentName)
[success]
= createCalibrationComponentObjects(importerObj, componentName,
'CreateSimulinkObject', true)
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.
| 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. |
| success | True if function is successful. False otherwise. |
importer_obj.createCalibrationComponentObjects('/package/autosar_component2')
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 |