Invoke AUTOSAR Server Operation
Configure AUTOSAR client port to access Basic Software or application software components
For modeling AUTOSAR client-server communication, R2014b introduced a broader and more flexible approach based on Simulink Function and Function Caller blocks rather than Invoke AUTOSAR Server Operation blocks. For more information, see Client-Server Interface and Configure AUTOSAR Client-Server Communication. The blocks Invoke AUTOSAR Server Operation and Mode Switch for Invoke AUTOSAR Server Operation will be removed in a future release.
Libraries:
AUTOSAR Blockset
Description
Use this block to configure an AUTOSAR client port for your Simulink® model, which provides access to Basic Software or application software components. To configure this block:
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.
If you run a SIL simulation with a model that contains an Invoke AUTOSAR Server block, the software sets the return arguments from the block to ground values.
Simulink does not support pointer data types. If you want to pass a
NULL
pointer as an input argument to your operation:
Specify the data type of the argument as
uint8
.Connect a constant signal with data type
uint8
and value 0 to the corresponding input port of the block.Check that your client-server interface XML file specifies the argument as an array with data type
uint8
.
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2009b