Effacer les filtres
Effacer les filtres

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

15 vues (au cours des 30 derniers jours)
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 commentaires
Maximilian Winkelmann
Maximilian Winkelmann le 16 Jan 2022
Modifié(e) : Maximilian Winkelmann le 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?
Maximilian Winkelmann
Maximilian Winkelmann le 16 Jan 2022
Is there a way to detect stuck loops (mostly while)?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by