hdl coder error when compiling stateflow
Show older comments
I can't figure out this error hdl coder is giving me when compiling a stateflow chart with parallel charts
Enumerated name 'IN_NO_ACTIVE_CHILD' is present in types 'state_type_is_TIMEOUT_WATCHER' and 'state_type_is_COUNT_IS_VALID'. Use unique enum type names for HDL code generation.
I attached the chart as pictures
Thanks for any help
1 Comment
Amish Rughoonundon
on 29 Mar 2020
Answers (1)
Kiran Kintali
on 31 Mar 2020
0 votes
Can you attach a small version of the model to reproduce the error?
"Enumerated name 'IN_NO_ACTIVE_CHILD' is present in types 'state_type_is_TIMEOUT_WATCHER' and 'state_type_is_COUNT_IS_VALID'. Use unique enum type names for HDL code generation."
We can check if the recommendation is valid or further improvements possible in the workflow.
Thanks
1 Comment
Amish Rughoonundon
on 2 Apr 2020
Categories
Find more on Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!