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)
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
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".

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!