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.

Answers (1)

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

Categories

Find more on Debugging and Improving Code in Help Center and File Exchange

Asked:

on 4 May 2026 at 4:12

Answered:

on 8 May 2026 at 9:58

Community Treasure Hunt

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

Start Hunting!