Is it possible to retrieve the value of Internal Data SwAddrMethods from Code mapping interface?

Need help in retrieving this value using MATLAB script from AUTOSAR code mapping, is there any valid APIs for the same.

 채택된 답변

Samar
Samar 2026년 5월 8일 9:58
Hi Ankitha,
No, there is no supported MATLAB API to programmatically retrieve the Internal Data SwAddrMethod value from the AUTOSAR Code Mapping interface.
  • The AUTOSAR APIs (autosar.api) allow setting/configuring SwAddrMethod for mappable data elements, but internal data SwAddrMethod is not exposed for query through the code mapping API.
  • If the value shows as <None> in Code Mappings, it means no explicit SwAddrMethod has been assigned, and this state cannot be queried via MATLAB script today.
You can use the MathWorks Documentation references
Hope this helps!
Thanks,
Samar

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Debugging and Improving Code에 대해 자세히 알아보기

질문:

2026년 5월 4일 4:12

답변:

2026년 5월 8일 9:58

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by