| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Real-Time Workshop Embedded Coder |
| Contents | Index |
| Learn more about Real-Time Workshop Embedded Coder |
Real-Time Workshop/ AUTOSAR

Use this block to configure an AUTOSAR client port for your Simulink model, which provides access to Basic Software or application software components:
Copy or drag this block from the AUTOSAR library into your model.
Double-click the block to open the Invoke AUTOSAR Server Operation dialog box.
Specify the parameters and click OK. This action updates the number of inports and outports to match the operation prototype.
Connect this block to other blocks in your model as required.
Save and build the model to generate AUTOSAR-compliant code and XML files.
Must be a valid AUTOSAR short-name identifier.
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
The reference path for the client-server interface.
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.
If you select this, client port receives error status of client-server communication.
To inherit the sample time, set this parameter to -1.
Mode Switch for Invoke AUTOSAR Server Operation
Configuring Client-Server Communication in the Real-Time Workshop Embedded Coder documentation
![]() | GRT (optimized for fixed/floating-point) | Mode Switch for Invoke AUTOSAR Server Operation | ![]() |

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 |