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.

Answers (0)

Categories

Asked:

on 20 Jul 2026

Edited:

on 20 Jul 2026

Community Treasure Hunt

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

Start Hunting!