Stateflow enumeration datatype problem
10 views (last 30 days)
Show older comments
Hi there,
I am having a real problem with matlab enumerations in Stateflow.Every time I try to run a script generated stateflow model I get the following error:
"MATLAB command 'ST' failed: (MATLAB:class:InvalidEnum) Cannot find a member of the 'ST' enumeration class that corresponds to each element of the given input argument."
I am trying all that I can to fix this problem but I still could not get rid of it.If any bus in the model has this this enumerated data type I get that error no matter what.
Any help?
Best regards,
2 Comments
stozaki
on 21 Sep 2020
Hello Flavio,
Do you define enumerated data types as Simulink Enum class files or as Enum objects in Simulink Data Dcitionary?
stozaki
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!