- https://www.mathworks.com/matlabcentral/answers/463047-how-to-implement-error-port-for-autosar-receiver-interface-inport-like-suggested-by-model-advisor-ch
- https://www.mathworks.com/help/autosar/ug/configure-autosar-parameter-communication.html
- https://www.mathworks.com/help/autosar/ref/autosarcodemappingseditor.html
모델에서 Send/Receiver RTE 포트의 리턴 값을 어떻게 사용 할 수 있나요
2 views (last 30 days)
Show older comments
Receiver (ExplicitRecevie) RTE 포트는 input으로 만 표현이 되고 포트의 리턴값을 사용하지 못 합니다.
리턴 값을 사용 할 수 있는 방법이 있나요?
RTE 정의
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1600711/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1600716/image.png)
생성된 Code
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1600721/image.png)
Model Advisor MISRA C:2012 점검 시 아래와 같은 Warnig 발생
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1600726/image.png)
0 Comments
Answers (1)
Ashutosh Thakur
on 19 Jun 2024
Hi Junyeol,
Based on the warning message, I have observed that the Model Advisor check for a missing error port is failing. To resolve this issue, you might need to add the required error port to the model. The following links can be referred for the implementation:
In AUTOSAR, the Runtime Environment (RTE) acts as the middleware between the application software components (SWCs) and the basic software (BSW) layer. It facilitates communication, data exchange, and interaction among software components and between software components and the BSW. For more information, the following documentation link can be referred: https://www.mathworks.com/help/autosar/ug/what-is-autosar.html?searchHighlight=RTE&s_tid=srchtitle_support_results_32_RTE.
I hope this helps you.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!