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?
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre AUTOSAR Communication en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!