Error regarding the stateEstimatorPF
3 views (last 30 days)
Show older comments
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?
COMMAND:
pf = stateEstimatorPF
ERROR:
Undefined function or variable 'stateEstimatorPF'.
Error in xxx (line 21)
pf = stateEstimatorPF
0 Comments
Answers (1)
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.
This information can be known from the documentation page of https://www.mathworks.com/help/nav/ref/stateestimatorpf.html#mw_1bb777c8-2df4-4f80-bb50-8968011c4976
You can use the robotics.ParticleFilter object to perform this task from R2017a.
Hope this helps.
Regards,
Sriram
2 Comments
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.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!