AUTOSAR code generation: Configuring a server interface with a standard return value (E_OK and E_NOT_OK)
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
We are using the embedded code generation for AUTOSAR components which are imported into MATLAB as arxml files. After the import, the configuration of the AUTOSAR atomic software component looks as defined in the arxml file. Yet, after that, when we generate the code, all server functions (assuming client/server interface) are generated without return argument like "void MyFunction (InArg1, *OutArg)" although it is defined in the respective interface (as enumeration of errors; E_OK, E_NOT_OK ). In other words we would like to generate the functions like "Std_ReturnType MyFunction (InArg, *OutArg)". How can we configure the functions that returns a value e.g. in Std_ReturnType.
Thanks in advance.
Kind regards, Ugur
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu AUTOSAR Blockset finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!