Simulink Model does not run simulation - initializing never stops

3 ビュー (過去 30 日間)
Kilian Konstantin Hensel
Kilian Konstantin Hensel 2020 年 5 月 14 日
回答済み: Yash 2025 年 2 月 16 日
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
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:
  • 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.

カテゴリ

Help Center および File ExchangePrepare Model Inputs and Outputs についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by