"Domain error. To compute complex results from real x, use 'acos(complex(x))" error in matlab?

10 次查看(过去 30 天)
hi.i want to simulate the model but while running there is this error in the inverse kinematic function :
Domain error. To compute complex results from real x, use 'acos(complex(x))
how can I fix it?
Kindly find attached the Simulink file

回答(1 个)

Yuvraj Singh
Yuvraj Singh 2023-1-4
Hi Oluwapelumi,
I understand that you are trying to simulate a model but encounter Domain error in the inverse kinematic function.
I found a MATLAB Answers link which provides resolution to a similar problem.
I hope this helps you.
-Yuvraj

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by