If you add prefixes to enumerated names in the generated code,
you enhance readability and avoid name conflicts with global symbols.
For details, see Enumerations in the Simulink® Coder™ documentation.
This guideline prevents name conflicts with other objects in
a chart. If an enumerated value uses the same identifier as a data
object in a state or a bus field in a chart, the chart does not resolve
the identifier as an enumerated value.
For example, the following diagram shows the stages in which
a chart tries to resolve the identifier Colors.Red.