i have a NI cDAQ-9188 card and i am using MATLAB 2014a and the therein installed DAQ Toolbox. I want to use the session-based interface (actually i have no other option) to perform ONLINE (but not real-time) state estimation. To this end, i would like to perform data acquisition and place the code for a Kalman filter somewhere in the measurement process, e.g., estimate while i measure. Is this possible? Can you please provide me with an indicative architecture of my code? I know the answer (it is no) but... is this possible to do it in SIMULINK?

 Akzeptierte Antwort

Drew Davis
Drew Davis am 8 Jun. 2015

0 Stimmen

You can add a listener to a data acquisition object which will execute a callback on a certain event. The callback can then contain the code necessary to perform the Kalman filtering. See the doc page below:
In Simulink there are Kalman filtering blocks
See the doc page below for data acquisition blocks:

Weitere Antworten (0)

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by