AUTOSAR code generation: Configuring a server interface with a standard return value (E_OK and E_NOT_OK)
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!