Could you solve the integral error?

Derivative of state '1' in block 'untitled/Integrator1' at time 0.70209096161323692 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
This error message has occurred. How do you want me to solve this problem?

Answers (1)

Jan
Jan on 28 Mar 2021
The error message explains the cause and suggests a solution already. You do not post any other information. Then it is impossible to suggest a solution apart form repeating, what the error message told you:
  • "There may be a singularity in the solution." - Then you cannot integrate the function for mathematical reasons.
  • "If not, try reducing the step size" - did you try this?

Tags

Asked:

on 28 Mar 2021

Answered:

Jan
on 28 Mar 2021

Community Treasure Hunt

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

Start Hunting!