simulink2025a 导出fmu时,参数丢失,试了2022版本没有问题
Show older comments
simulink2025a 导出fmu时,参数C和R丢失

1 Comment
I understand the issue being faced where parameters are missing when exporting an FMU from Simulink R2025a.
This issue typically occurs because the code generation settings treat Model Arguments as inlined rather than tunable variables during the standalone FMU build.
A possible resolution to the issue could be as follows:
- Open Model Configuration Parameters (Ctrl+E).
- Navigate to Code Generation -> Optimization.
- Set the Default parameter behavior to Tunable.
Here is a useful Documentation regarding Limitations for Parameter Tunability in Generated FMUs:
Hope this is helpful.
Answers (0)
Categories
Find more on FMU Importing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!