Error regarding the stateEstimatorPF

5 次查看(过去 30 天)
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

回答(1 个)

Sriram Tadavarty
Sriram Tadavarty 2020-3-14
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.
Regards,
Sriram
  2 个评论
Sameema Tariq
Sameema Tariq 2020-3-18
I have used robotics.ParticleFilter object, but having same error issue
Sriram Tadavarty
Sriram Tadavarty 2020-3-18
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by