Why is enum not allowed with Simulink.Parameter in R2014b.

2 views (last 30 days)
Hi,
I have been trying to generated code using embedded coder for a small model.
One of the parameters is an enum to be imported from an external file. I created an enum class as imported.
When I am trying to use this enum as a data type in Simulink.Parameter it returns an error that Simulink Parameter cannot be converted to enum data type.
Could you tell any alternate method if possible.
Regards Siddhant

Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!