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.

 採用された回答

Walter Roberson
Walter Roberson 2019 年 11 月 25 日
openExample('shared_positioning/PoseEstimationFromAsynchronousSensorsExample')
requires the Sensor Fusion Toolbox and R2019a or later

4 件のコメント

Dionysius Ang
Dionysius Ang 2019 年 11 月 25 日
Hi Mr Roberson,
thanks for your help. I have the sensor fusion toolbox and R2019a already. but the error still persists. Screenshot (44).png
Walter Roberson
Walter Roberson 2019 年 11 月 25 日
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')
Dionysius Ang
Dionysius Ang 2019 年 11 月 26 日
Thank you for the help man. It has worked already. :)

サインインしてコメントする。

その他の回答 (1 件)

Ajay Joseph
Ajay Joseph 2021 年 7 月 30 日

0 投票

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

質問済み:

2019 年 11 月 25 日

回答済み:

2021 年 7 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by