MATLAB: Kalman Filter and Session-Based Interface

daq toolboxData Acquisition Toolboxkalman filtersession based interface

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?

Best Answer

  • 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: