Why do I get an "Unrecognized function or variable 'slerp'" error when calling "slerp"
Show older comments
I am getting an "Unrecognized function or variable 'slerp'" error when calling "slerp". When I use "which slerp" or "which -all slerp" from the command window, MATLAB returns "'slerp' not found." Additionally, we can find the documentation for "slerp" by searching for it, but we cannot find the function listed under any of the toolbox pages that it is a part of (Robotics Systems, Navigation, Sensor Fusion and Tracking, etc.)
Here is the code that is used to call "slerp":
q0 = eul2quat([0,0,0]);
q1 = eul2quat([pi/2,pi/4,pi/6]);
slerp(q0,q1,.5)
Accepted Answer
More Answers (0)
Categories
Find more on Satellite Mission Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!