When generating an FMU from a Simulink model, the parameters are not correctly reflected in the resulting FMU.

I built a simple boost converter model and wanted to generate an FMU. I set the relevant parameters (such as Ts, C, L, and R) as variables and initialized them using an inifcn function. The FMU was generated successfully, but when I load the FMU, only Vin appears as a parameter; all the other parameters are missing.

Antworten (0)

Gefragt:

am 20 Jul. 2026 um 13:44

Bearbeitet:

am 20 Jul. 2026 um 20:34

Community Treasure Hunt

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

Start Hunting!

Translated by