Does Matlab FMI export will support operating FMU serialisation function ?
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Yash
on 20 Jan 2025
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 Comments
See Also
Categories
Find more on Create Standalone FMU in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!