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

5 次查看(过去 30 天)
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.

回答(1 个)

Urmila Rajpurohith
Urmila Rajpurohith 2021-2-25
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!

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by