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

 Respuesta aceptada

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 comentario

It worked! I just needed to significantly reduce the step size. Thank you very much for your assistance.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Line Plots en Centro de ayuda y File Exchange.

Preguntada:

el 17 de Oct. de 2023

Comentada:

el 17 de Oct. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by