MATLAB: Missing ‘meanrot’ function, despite having both the Sensor Fusion and Tracking and Robotics System Toolbox.

MATLABmeanrot

I have the proper toolboxes installed, yet when I type open meanrot, or attempt to use meanrot I get hte same error: "Undefined function or variable 'meanrot'.". I am using MATLAB R2019a with both Sensor Fusion and Tracking and Robotics System Toolbox toolboxes added. Please advise.

Best Answer

Are you trying to call it on a quaternion object? The documentation page for meanrot in Sensor Fusion and Tracking Toolbox states that the quat input argument must be a quaternion as does the version of that documentation page in Robotics System Toolbox.
Trying to call it on a normal double precision matrix or something similar will not work.