"insfilter" inbuilt function error in Matlab 2018b

1 Ansicht (letzte 30 Tage)
Ravindra
Ravindra am 3 Jun. 2019
Kommentiert: Ravindra am 4 Jun. 2019
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 Kommentar
Jan
Jan am 4 Jun. 2019
Please explain what "doesn't work" means. Do you get an error message?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Jan
Jan am 4 Jun. 2019
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 Kommentar
Ravindra
Ravindra am 4 Jun. 2019
It shows only the two examples. Thank you Jan for your suggestion.
I should upgrade to the current version!!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Steven Lord
Steven Lord am 4 Jun. 2019
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