Does Matlab FMI export will support operating FMU serialisation function ?
2 次查看(过去 30 天)
显示 更早的评论
Playing with FMU export with 2020b, I have noticed that serialising and accessing FMU State can be invoked but doing nothing. Is it planned to get those two FMI features (Serialising and GetFMUState) available (operating and not empty shell) in the future ?
0 个评论
回答(1 个)
Yash
2025-1-20
exportToFMU function provides the argument EnableFMUState - Option to export model to FMU with FMUState. This is valid for Co-Simulation FMUs that have a fixed-step solver and are compatible with FMI 2.0 and 3.0 standards. The canGetAndSetFMUState and canSerializeFMUState flags in modelDescription.xml are set to true when FMU state is enabled. This enables enhanced simulation control like fast restart, model operating point, and backward simulation stepping.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Create Standalone FMU 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!