Simulink showing error. kinematic constraints cannot be maintained. Check solver type and consistency tolerance in the Simscape Solver Configuration block.
43 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm using simulink to get joints torque by giving motion input. I create very simple CAD model in solidworks to learn simulink. Simulink model is showing in below figure.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161074/image.png)
During update it shows no error but when I Run it shows error as
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161075/image.png)
3D-CAD model is shown below figure.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161076/image.png)
Can anybody help me to solve this problem.
Thanks.
0 个评论
回答(1 个)
jack javons
2020-1-6
编辑:jack javons
2020-1-6
maybe you can change the parameters about Consistency tolerance of solver configuration,such as change the 1e-09 to 1e-06 or a larger number, also you maybe need to change the solver selection ,by did so ,I have Solve the problem.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!