Why does FMU export fail for a Simulink model with enumerated types defined in a data dictionary in MATLAB R2023b?

When I try to create an 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

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

Products

Release

R2023b

Community Treasure Hunt

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

Start Hunting!