Clear Filters
Clear Filters

Why is my Simulation in Simulink stopping in the middle of run time with no warning?

15 views (last 30 days)
I am writing a simulation for my school's undergraduate satellite project, in particular attitude determination. This is a very large simulation, over 1000 blocks big, and depending on the ODE solver, the simulation stops less than 10% into the simulation run time. I have checked the RAM of my computer, and it was not maxed out while running the simulation. Are there any methods to fix this (no error readout with the stopping)?
  5 Comments
Maximilian Winkelmann
Maximilian Winkelmann on 16 Jan 2022
Edited: Maximilian Winkelmann on 16 Jan 2022
I have the same issue. My simulation time is very long and it stops at about 1411000 s evertime with no error. Matlab/Simulink just stops working, i cant even open m.-files for example. There is no memory issue or something like that, because it will happen with a start time of 1400000 as well. The solver profiler doesnt work as well as soon as the simulation stops, but the data that is recorded until this point seems to be ok. Based on the profiler there should not be any problem regarding the step size. Is there a solution to this?

Sign in to comment.

Answers (0)

Categories

Find more on General Applications 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!