Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop Embedded Coder   

getServerOperationPrototype - Class: RTW.AutosarInterface
Package: RTW

Get server operation prototype

Syntax

operation_prototype = autosarInterfaceObj.getServerOperationPrototype

Description

operation_prototype = autosarInterfaceObj.getServerOperationPrototype returns the server operation prototype in autosarInterfaceObj.

autosarInterfaceObj is a model-specific RTW.AutosarInterface object.

Outputs

operation_prototype

String with names of prototype and arguments:

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

  • operation_name — Name of the 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

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