AUTOSAR code generation: Configuring a server interface with a standard return value (E_OK and E_NOT_OK)
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur AUTOSAR Blockset dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!