Effacer les filtres
Effacer les filtres

Not able to generate Autosar code for reference models

7 vues (au cours des 30 derniers jours)
Tejas
Tejas le 15 Nov 2023
Commenté : Tejas le 23 Nov 2023
Hello,
when I tried to generate Autosar code, it's just generating for main model. I can't see any code generated for reference models(as per Hierarchy). Do I need to change anything in model settings? Why I'm not able to see Autosar code for my reference models?
Thanks!

Réponses (1)

UDAYA PEDDIRAJU
UDAYA PEDDIRAJU le 21 Nov 2023
Dear Tejas,
As per my understanding, you should check the model hierarchy and ensure that the reference models are defined correctly. You should also check the model settings and ensure that the AUTOSAR code generation settings are correct, also ensure that you’re using the right version of MATLAB.
To generate AUTOSAR-compliant C code and ARXML component descriptions from a model configured for the AUTOSAR Classic Platform, you can follow the steps mentioned in the following resources.
  1. Configure AUTOSAR Code Generation.
  2. Create and Configure AUTOSAR Software Component.
  3. Develop a Model That Complies with the AUTOSAR Standard.
  4. Code Generation for Classic AUTOSAR Software Components.
  5. Code Generation
I hope this helps!
  1 commentaire
Tejas
Tejas le 23 Nov 2023
Thanks for the feedback, it's working now..... the model setting was not correct with reference models. I changed the whole path and model setting, going to be good now.
Thanks!

Connectez-vous pour commenter.

Catégories

En savoir plus sur AUTOSAR Blockset dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by