모델에서 Send/Receiver RTE 포트의 리턴 값을 어떻게 사용 할 수 있나요
Mostrar comentarios más antiguos
Receiver (ExplicitRecevie) RTE 포트는 input으로 만 표현이 되고 포트의 리턴값을 사용하지 못 합니다.
리턴 값을 사용 할 수 있는 방법이 있나요?
RTE 정의

생성된 Code
Model Advisor MISRA C:2012 점검 시 아래와 같은 Warnig 발생

Respuestas (1)
Ashutosh Thakur
el 19 de Jun. de 2024
0 votos
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:
- 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
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.
Categorías
Más información sobre Modeling en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!