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

1 Ansicht (letzte 30 Tage)

Akzeptierte Antwort

Florian Bidaud
Florian Bidaud am 17 Okt. 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 Kommentar
Danikha Shyken
Danikha Shyken am 17 Okt. 2023
It worked! I just needed to significantly reduce the step size. Thank you very much for your assistance.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by