![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1021585/image.png)
"Derivative of state '1' in block 'PD_Control/Integrator2' at time 0.34 in not finite. There are may be a singularity in the solution..."
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Junu Lee
am 4 Jun. 2022
Kommentiert: Junu Lee
am 5 Jun. 2022
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1021535/image.png)
Hi, now i configures SIMULINK about robot arm.
But in every time, the error is showed as above.
I wonder the reason why error appears and how to solve it.
I upload my SIMULINK file as zip file.
I use MATLAB 2022a version.
Also I attached dynamic equation what I used.
Thank you.
0 Kommentare
Akzeptierte Antwort
Sam Chak
am 4 Jun. 2022
Hi @Junu Lee
Most likely caused by the division-by-zero from this block. Could be triggered when the robot arm rotates to a certain angular position. Can you check the equations?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1021585/image.png)
11 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Code Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!