![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1506034/image.png)
Hey there, I need some help with this error. Would anyone be willing to provide guidance?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Danikha Shyken
am 9 Okt. 2023
Kommentiert: Sam Chak
am 17 Okt. 2023
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1505959/image.png)
How do I reduce the fixed step size or tighten the error tolerances?
0 Kommentare
Akzeptierte Antwort
Sam Chak
am 9 Okt. 2023
For a fixed-step solver, you can modify the settings in the Solver tab of the Configuration Parameters dialog box (see image below). However, when it indicates that the derivative of the state at a certain time is not finite, the issue may be caused by a singularity in the solution. Singularities typically occur when the model contains division-by-zero terms.
If this is under the direct control of a model designer, you can alter the mathematical expression that leads to the zero in the denominator. If the model is constructed in accordance with the governing laws of physics, where you cannot alter the mathematical principles (e.g., black holes or kinematic singularities of robot arms), then you can attempt a coordinate transformation or apply an externally-manipulated input signal to the system to actively avoid the singularity.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1506034/image.png)
3 Kommentare
Sam Chak
am 17 Okt. 2023
I suggest that you show what's under the state-space block mask so that we can analyze the dynamics.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Robotics 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!