Why does FMU export fail for a Simulink model with "Enumerated Types" defined in a "Data Dictionary" in MATLAB R2023b?
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 20 Oct 2025 at 0:00
Answered: MathWorks Support Team
on 31 Oct 2025 at 13:17
When I try to create a FMU for a Simulink model with "Enumerated Types" defined in a "Data Dictionary", I get the following error:
Could not evaluate 'testEnum' in data dictionary
Caused by:
Error using evalinScopeSection
Input does not correspond to a member of the enumeration class 'testEnum'. - Show complete stack trace
Why does FMU export fail for a Simulink model with "Enumerated Types" defined in a "Data Dictionary" in MATLAB R2023b?
Accepted Answer
MathWorks Support Team
on 20 Oct 2025 at 0:00
This is a limitation of MATLAB R2023b. This limitation has been addressed, and starting in MATLAB R2024a you can export models as FMU with "Enumerated Types" defined in the "Data Dictionary".
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Functions 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!