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

4 ビュー (過去 30 日間)
Jung-Kyun Lim
Jung-Kyun Lim 2019 年 11 月 30 日
回答済み: Urmila Rajpurohith 2021 年 2 月 25 日
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 Center および File ExchangeCode Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by