Code covered by the BSD License  

Highlights from
Mac OS X Data Aquisition with National Instruments device

from Mac OS X Data Aquisition with National Instruments device by Fred Sigworth
Analog input with a National Instruments device on Mac OS X, using a mex file.

daqEnd(h)
function daqEnd(h)
% function daqEnd(h)
% Close the data-acquisition task and deallocate the data structures
% associated with the TaskHandle h.
DAQ(int32(4),uint32(h));

Contact us at files@mathworks.com