Keep getting Error: "Derivative of state '1' in block 'ECSE324_C​aseStudy1S​imulink/In​tegrator' at time 203.47847445739953 is not finite. The simulation will be stopped."

2 views (last 30 days)
I need to build a SIMULINK model for a system of differential equations but I keep getting the error mentioned above. I haven't used SIMULINK very much and it would be helpful if I could see what the values of the variables for each time step were so I could debug. Where am I going wrong with my model? I tried to change it to ode15s but it still won't work.

Answers (1)

Pratyush Roy
Pratyush Roy on 30 Oct 2020
Hi Rory,
The following link shows a similar case where the customer is facing an issue for non-finite derivative for an integrator block.
Hope this helps!
Regards,
Pratyush.

Categories

Find more on Simulink Functions 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!