Skip to Main Content Skip to Search
Product Documentation

createOperationAsConfigurableSubsystems - Class: arxml.importer
Package: arxml

Create configurable Simulink subsystem library for client-server operation

Syntax

[modelH, success] = importerObj.createOperationAsConfigurableSubsystems(interfaceName)
[modelH, success] = importerObj.createOperationAsConfigurableSubsystems(InterfaceName, Property1, Value1, Property2, Value2, ...)

Description

[modelH, success] = importerObj.createOperationAsConfigurableSubsystems(interfaceName) creates a configurable Simulink subsystem library corresponding to the AUTOSAR client-server interface 'INTERFACE'. This interface is described in the XML file imported by the arxml.importer object importerObj.

You can also specify optional property/value pairs when creating this Simulink subsystem library:

[modelH, success] = importerObj.createOperationAsConfigurableSubsystems(InterfaceName, Property1, Value1, Property2, Value2, ...)

Input Arguments

interfaceNameAbsolute short name path of the client-server interface.
PropertyN, ValueNOptional property/value pairs. You can specify values for the following properties:
'CreateSimulinkObject'

true (default) or false. If true, then the function creates the Simulink.AliasType and Simulink.NumericType corresponding to the AUTOSAR data types in the XML file.

'NameConflictAction'

'overwrite' (default) or 'makenameunique' or 'error'. Use this property to determine the action if a Simulink model with the same name as the component already exists.

'AutoSave'

true or false (default). If true, then the function automatically saves the generated Simulink subsystem library.

'ForceClientBlkForBSP'

true or false (default). If true, an Invoke AUTOSAR Server Operation block is created for a single argument operation that accesses Basic Software.

Output Arguments

modelHModel handle.
successTrue if the function is successful. False otherwise.

Examples

obj.createOperationAsConfigurableSubsystems('/PortInterface/csinterface')

See Also

arxml.importer.getClientServerInterfaceNames

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