Greetings, if you have a moment, I could use your help in resolving this error.

5 vues (au cours des 30 derniers jours)

Réponse acceptée

Florian Bidaud
Florian Bidaud le 17 Oct 2023
The error is fairly clear. It's either your model has a singularity, like dividing by a very small quantity. In this case, you need to identify the variable in the block State-space that is causing the error.
If I were you I would first try to reduce the step size by a lot to check if that works. Like going from 0.01s to 0.001s for example. If the model runs fine, then there is no real singularity but just an too large step.
  1 commentaire
Danikha Shyken
Danikha Shyken le 17 Oct 2023
It worked! I just needed to significantly reduce the step size. Thank you very much for your assistance.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Communications Toolbox 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