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

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

openExample('shared_positioning/PoseEstimationFromAsynchronousSensorsExample')
requires the Sensor Fusion Toolbox and R2019a or later

4 Comments

Hi Mr Roberson,
thanks for your help. I have the sensor fusion toolbox and R2019a already. but the error still persists. Screenshot (44).png
Further investigation shows that that particular example is loaded as part of the Navigation Toolbox in R2019b, which appears to be new in that release.
I will continue searching for R2019a.
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')
Thank you for the help man. It has worked already. :)

Sign in to comment.

More Answers (1)

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!