Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop Embedded Coder   

Invoke AUTOSAR Server Operation - Configure AUTOSAR client port to access Basic Software or application software components

Library

Real-Time Workshop/ AUTOSAR

Description

Use this block to configure an AUTOSAR client port for your Simulink model, which provides access to Basic Software or application software components:

  1. Copy or drag this block from the AUTOSAR library into your model.

  2. Double-click the block to open the Invoke AUTOSAR Server Operation dialog box.

  3. Specify the parameters and click OK. This action updates the number of inports and outports to match the operation prototype.

  4. Connect this block to other blocks in your model as required.

  5. Save and build the model to generate AUTOSAR-compliant code and XML files.

Parameters

Client port name

Must be a valid AUTOSAR short-name identifier.

Operation prototype

Controls the type and number of inports and outports of the block, and must be of the form:

operation(prt1 datatype1 arg1, prt2 datatype2 arg2, ... prtN datatypeN argN, ...)

  • operation — Name of the operation

  • prtN. Either IN or OUT, which indicates whether data passes into or out of the function.

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

  • argN — Name of the argument

Interface path

The reference path for the client-server interface.

Server type

You select the value from:

  • Application software — For communication with an application software component.

  • Basic software — For communication with AUTOSAR Basic Software.

For this block, Application software is the default.

Show error status

If you select this, client port receives error status of client-server communication.

Sample time (-1 for inherited)

To inherit the sample time, set this parameter to -1.

See Also

Mode Switch for Invoke AUTOSAR Server Operation

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