Is it possible to generate a FMU that contains FMUs in Simulink?

3 次查看(过去 30 天)
I'm using the Modelon FMI Toolbox 2.13 and tried to generate an FMU over other FMUs. This toolbox does not support code generation for FMU blocks. So I would like to know if this is possible when using Simulink Compiler instead?

回答(1 个)

Aiswarya
Aiswarya 2023-8-9
Hi Yannick,
It is my understanding that you intended to create composite FMU blocks where you can include FMU blocks inside another FMU block, and want to generate code for the same.
FMI toolbox mainly provides functionality for loading, accessing and simulating FMUs. However, if your goal is to generate code for the FMU blocks, you can consider using Simulink Compiler and Simulink Coder. The following resource can help you get started with this:
I hope this helps.
Regards
Aiswarya

Community Treasure Hunt

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

Start Hunting!

Translated by