Why does FMU export fail for a Simulink model with "Enumerated Types" defined in a "Data Dictionary" in MATLAB R2023b?

4 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 20 Ott 2025 alle 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".

Più risposte (0)

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by