"insfilter" inbuilt function error in Matlab 2018b

조회 수: 1 (최근 30일)
Ravindra
Ravindra 2019년 6월 3일
댓글: Ravindra 2019년 6월 4일
I am woking with Matlab 2018b. Installed with Sensor fusion and Tracking Toolbox and Automated Driving Toolbox.
Considering the examples on the Matlab website
The inbuilt function "filt = insfilter" does work with two examples
nhFilter = insfilter('NonholonomicHeading',true, ...
'Magnetometer',false)
filter = insfilter
The other examples doesn't work.
Is it possible to reinstall the Toolbox on Matlab 2018b or any other solution so that all examples can work on matlab version 2018b?
or the rest of examples are only available in the new version of 2019a??
filter = insfilter("errorstate")
filter = insfilter("asyncimu")
nhFilter = insfilter('NonholonomicHeading',true, ...
'Magnetometer',false, ...
'AsyncIMU',false, ...
'ErrorState',false)
Thank you very much in advance.
  댓글 수: 1
Jan
Jan 2019년 6월 4일
Please explain what "doesn't work" means. Do you get an error message?

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2019년 6월 4일
Use the local documentation of your Matlab installation to find out, which features are available. Using examples from another Matlab release can cause confusions. Do these examples occur, if you type:
doc insfilter
?
  댓글 수: 1
Ravindra
Ravindra 2019년 6월 4일
It shows only the two examples. Thank you Jan for your suggestion.
I should upgrade to the current version!!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Steven Lord
Steven Lord 2019년 6월 4일
As Jan suspected, the insfilter function has additional capabilities in release R2019a (the current release.) The online documentation is for the current release. According to the Release Notes the 'errorState' and 'asyncIMU' input arguments are new in R2019a.
  댓글 수: 1
Ravindra
Ravindra 2019년 6월 4일
Thank you Steven!!
I will upgrade to current version.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by