"insfilter" inbuilt function error in Matlab 2018b

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

采纳的回答

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.

Community Treasure Hunt

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

Start Hunting!

Translated by