Why does function 'createComponentAsModel' create an enum data type that leads to a data type mismatch when building a model using the autosar.tlc target?
Afficher commentaires plus anciens
It is sought to use function 'arxml.importer' to import some data type definitions from an ARXML-file and then function 'createComponentAsModel' to generate a Simulink model for this AUTOSAR software component. When doing so, then an m-file is generated, that contain all the definitions for the underlying enum-data types and then a Simulink model that models this software component.
When trying to generate code from the latter Simulink model using the autosar.tlc target, then the following error message occurs,
Potential conflicting usages of identifier 'myenumtype1': an enumeration string in
data type 'myenumdatatype1', and an enumeration string in data type
'myenumdatatype2'
Why does function 'createComponentAsModel()' create an enum data type that leads to a data type mismatch when building a model using the autosar.tlc target?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur AUTOSAR Communication dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!