Error regarding the stateEstimatorPF

2 views (last 30 days)
Sameema Tariq
Sameema Tariq on 9 Mar 2020
Commented: Sriram Tadavarty on 18 Mar 2020
I am using MATLAB R2017a. When I type the command, It gives an error. Although it is written that the command is introduced in R2016a. And I am having latest version of MATLAB. Kindly guide me how do I proceed?
pf = stateEstimatorPF
Undefined function or variable 'stateEstimatorPF'.
Error in xxx (line 21)
pf = stateEstimatorPF

Answers (1)

Sriram Tadavarty
Sriram Tadavarty on 14 Mar 2020
Hi Sameema,
Please ensure that you have Robotics System Toolbox.
I see the reason of erroring out while using the stateEstimatorPF from R2017a MATLAB. This stateEstimatorPF object is available from R2019b, but the functionality of what that object does is introduced from R2016a.
You can use the robotics.ParticleFilter object to perform this task from R2017a.
Hope this helps.
Sriram Tadavarty
Sriram Tadavarty on 18 Mar 2020
Can you make sure you have Robotisc System Toolbox? Try this
ver robotics
If you could see Robotics System Toolbox installed, try this
edit robotics.ParticleFilter
If this opens, then you could be able to work with the file.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!