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

3 Ansichten (letzte 30 Tage)
Yannick
Yannick am 27 Jul. 2023
Beantwortet: Aiswarya am 9 Aug. 2023
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?

Antworten (1)

Aiswarya
Aiswarya am 9 Aug. 2023
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