Why does FMU export fail for a Simulink model with "Enumerated Types" defined in a "Data Dictionary" in MATLAB R2023b?
4 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2025-10-20,0:00
回答: MathWorks Support Team
2025-10-31,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?
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!