Simulink Model does not run simulation - initializing never stops
显示 更早的评论
Good evening,
I integrated a KULI FMU into a blank worksheet in SIMULINK, and connected an imput constant and a scope to check if the import function works.
It is compiling, starts initializing, but never finishes the initializion, and never runs the model. Any Idea how to solve that problem?
Solver configuration is set to auto.
回答(1 个)
Yash
2025-2-16
0 个投票
It's possible that the step size determined by the solver is too small, which is why the model seems to run indefinitely. Try the below steps to debug:
- Try using a different solver.
- Increase the step size in Model Settings.
- Enable FMU debugging to get more details. Open the FMU Block parameter and select the check box "Enable FMU debug logging" in the Simulation tab.
类别
在 帮助中心 和 File Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!