| Contents | Index |
Create AUTOSAR atomic software component as Simulink model
[modelH, success]
= importerObj.createComponentAsModel(ComponentName)
[modelH, success]
= importerObj.createComponentAsModel(ComponentName, Property1, Value1, Property2, Value2,
...)
[modelH, success] = importerObj.createComponentAsModel(ComponentName) creates a Simulink model corresponding to the AUTOSAR atomic software component 'COMPONENT' described in the XML file imported by the arxml.importer object importerObj.
You can also specify optional property/value pairs when creating this Simulink model:
[modelH, success] = importerObj.createComponentAsModel(ComponentName, Property1, Value1, Property2, Value2, ...)
| modelH | Model handle. |
| success | True if the function is successful. Otherwise, it is false. |
importer_obj.createComponentAsModel('/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 |