Error regarding the stateEstimatorPF
2 次查看(过去 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
0 个评论
回答(1 个)
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.
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 个评论
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 Center 和 File 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!