Simulink error with integrator

3 views (last 30 days)
Arpita Petkar
Arpita Petkar on 16 Oct 2019
Commented: Renato SL on 18 Oct 2019
I am trying to simulate a mechanical dynamical system and I am getting hte following error :
Derivative of state '1' in block 'HW3que2d_least_sq/Integrator3' at time 0.0 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)
What should I do further to remove the error.
I have also attached my simulink model.
Any help would be really appreciated.
  1 Comment
Renato SL
Renato SL on 18 Oct 2019
In case you haven't found any solutions, maybe this discussion could help (link).
I cannot open your .slx since what I have is R2017b, but what I can suggest is not to use zero as the initial condition of the integrator. In case it has to be zero, I suggest using a very small number, like eps.

Sign in to comment.

Answers (0)

Categories

Find more on General Applications 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!