- 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.
Simulink Model does not run simulation - initializing never stops
4 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Yash
2025-2-16
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:
0 个评论
另请参阅
类别
在 Help Center 和 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!