Simulink Model does not run simulation - initializing never stops

4 views (last 30 days)
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.

Answers (1)

Yash
Yash on 16 Feb 2025
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.

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!