Borrar filtros
Borrar filtros

Clearing Cache for AUTOSAR components

3 visualizaciones (últimos 30 días)
Dinesh Kathir Raj Mohan Kumar
Dinesh Kathir Raj Mohan Kumar el 2 de Dic. de 2022
Respondida: Vidip Jain el 31 de Ag. de 2023
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 ?

Respuestas (1)

Vidip Jain
Vidip Jain el 31 de Ag. de 2023
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.

Categorías

Más información sobre AUTOSAR Blockset en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by