Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop Embedded Coder   

setServerOperationPrototype - Class: RTW.AutosarInterface
Package: RTW

Specify operation prototype

Syntax

autosarInterfaceObj.setServerOperationPrototype(operation_prototype)

Description

autosarInterfaceObj.setServerOperationPrototype(operation_prototype) defines the server operation prototype for autosarInterfaceObj.

autosarInterfaceObj is a model-specific RTW.AutosarInterface object.

Inputs

operation_prototype

String with names of prototype and arguments:

operation_name(dir1 datatype1 arg1, dir2 datatype2 arg2, ..., dirN datatypeN argN, ... )

  • operation_name — Name of operation

  • dirN — Either IN or OUT, which indicates whether data is passed in or out of the function.

  • datatypeN — Data type, which can be an AUTOSAR basic data type or record, Simulink data type, or array.

  • argN — Name of the argument

Prototype and argument names must be valid AUTOSAR short-name identifiers.

See Also

Configuring Client-Server Communication in the Real-Time Workshop Embedded Coder documentation

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS