MATLAB: Can I use the Generic Library calling utility available in MATLAB 6.5 (R13) and higher to interface to the data acquisition hardware driver

acquisitionadaptordaqdataData Acquisition Toolboxdlldrivergenericloadlibrary

I would like to be able to use the Generic DLL functionality to interface MATLAB with data acquisition hardware.

Best Answer

The Data Acquisition Toolbox enables users to interface MATLAB applications with their data acquisition hardware, independent of the manufacturer. The toolbox engine also operates within a separate process thread from MATLAB. This enables users to obtain data continuously in the background. Acquired data can be retrieved on-demand. Additionally, users can register functions to be automatically executed in response to acquisition events.
The Generic Library Interface in MATLAB enables users to load and directly call methods contained within standard Windows Dynamically Linked Libraries. This functionality can be used to interface MATLAB directly to driver software supplied by a data acquisition hardware manufacturer. However, this interaction occurs at low system level. Use of this functionality requires knowledge of C/C++ programming techniques and is only recommended for advanced users.
For more information on MATLAB's Generic Library Interface, see the Related Solution at the bottom of the page.
For more information on the Data Acquisition Toolbox, including supported hardware, see
<http://www.mathworks.com/products/daq/>