Error regarding the stateEstimatorPF

조회 수: 3 (최근 30일)
Sameema Tariq
Sameema Tariq 2020년 3월 9일
댓글: Sriram Tadavarty 2020년 3월 18일
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