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

4 ビュー (過去 30 日間)
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?

採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 10 月 20 日 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 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by