필터 지우기
필터 지우기

Clearing Cache for AUTOSAR components

조회 수: 3 (최근 30일)
Dinesh Kathir Raj Mohan Kumar
Dinesh Kathir Raj Mohan Kumar 2022년 12월 2일
답변: Vidip Jain 2023년 8월 31일
In the bottom up AUTOSAR development approach, where the Simulink model is created first and ARXML is generated out of it with the AUTOSAR blockset - If any of the settings are modified in the AUTOSAR Dictionary (For Eg. Under CompuMethods, if the Simulink Datatype is moved from one Compu Method to another), the generated ARXML has both the older settings and new settings.
In the example mentioned above, related to compu methods, the generated ARXML has both the compu methods linked to it.
This issue is resolved, if we create a new model and setup the AUTOSAR properties from the scratch.
Is there a simpler way to clear the AUTOSAR settings cache ?

답변 (1개)

Vidip Jain
Vidip Jain 2023년 8월 31일
I understand if the settings are modified in the AUTOSAR Dictionary, the generated ARXML has both the older settings and new settings.
The behaviour you described might be related to how the AUTOSAR Dictionary and ARXML generation work. When changes are made to the AUTOSAR settings within the dictionary, the ARXML generation might not always immediately reflect these changes due to caching or other internal processes.
While there's no direct "clear cache" option in the AUTOSAR Blockset for Simulink, you can try the following approaches to address the issue:
  1. Update AUTOSAR Dictionary: After making changes to the AUTOSAR settings within the dictionary, manually update the dictionary. This might refresh the settings and ensure that they are correctly reflected in the ARXML generation process.
  2. Re-Generate ARXML: If the updated AUTOSAR settings are not reflected in the generated ARXML, try regenerating the ARXML from your Simulink model. This process might incorporate the latest changes from the dictionary.

카테고리

Help CenterFile Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by