Azzera filtri
Azzera filtri

"insfilter" inbuilt function error in Matlab 2018b

1 visualizzazione (ultimi 30 giorni)
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 Commento
Jan
Jan il 4 Giu 2019
Please explain what "doesn't work" means. Do you get an error message?

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (1)

Steven Lord
Steven Lord il 4 Giu 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