Unable to open 'openExamp​le('shared​_positioni​ng/PoseEst​imationFro​mAsynchron​ousSensors​Example')'

8 views (last 30 days)
Hi guys,
thanks for helping, i've tried running the aforementioned command. But the follow errors were returned.
Error using exampleUtils.componentExamplesDir (line 13)
Invalid argument "shared_positioning".
Error in findExample (line 18)
componentExamplesDir =
exampleUtils.componentExamplesDir(component);
Error in openExample (line 24)
metadata = findExample(id);
Thank you for the help.

Accepted Answer

Walter Roberson
Walter Roberson on 25 Nov 2019
openExample('shared_positioning/PoseEstimationFromAsynchronousSensorsExample')
requires the Sensor Fusion Toolbox and R2019a or later
  4 Comments
Walter Roberson
Walter Roberson on 25 Nov 2019
Okay, the problem is that you are trying to use the R2019b documentation code in your R2019a MATLAB. In R2019a the needed code is
openExample('fusion/PoseEstimationFromAsynchronousSensorsExample')

Sign in to comment.

More Answers (1)

Ajay Joseph
Ajay Joseph on 30 Jul 2021
I have Sensor Fusion and Tracking Toolbox Version 1.1 installed on 2019A but this example is missing in that location. I am interested in trying this particular example to visualise IMU in 3D. openExample('shared_fusion_arduinoio/EstimateOrientationUsingInertialSensorFusionAndMPU9250Example'). I hope someone can shed some light on this.
Thanks
AJ

Community Treasure Hunt

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

Start Hunting!