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

1 view (last 30 days)

Accepted Answer

Florian Bidaud
Florian Bidaud on 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.

More Answers (0)


Find more on Startup and Shutdown 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!