Derivative of state '1' in block 'sunho/Inverse Dynamic/Integrator' at time is not finite.

1 view (last 30 days)
Derivative of state '1' in block 'sunho/Inverse Dynamic/Integrator' at time 0.00014907010752590144 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)
I am using coding to make RR robotics arm SMC controller.
Please help me to solve this error.

Answers (1)

Urmila Rajpurohith
Urmila Rajpurohith on 25 Feb 2021
Hi
You can try changing the solver to Variable-step ode15s (stiff/NDF).
Or refer the following link to resolve the issue :
Hope this helps!

Community Treasure Hunt

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

Start Hunting!