The present Matlab codes are data acquisition examples, which concern the generation and measurement (queue and acquisition) of (audio) signals with Matlab Data Acquisition Toolbox using both the Legacy and Session-Based interface and both the Sound Card and NI DAQ (NI USB-6211) hardware. In the examples is shown how to:
- prepare the analog output(s) and input(s);
- simultaneously queue and acquire data;
- log the results into data .txt data file.
The codes are based on the theory described in:
 Data Acquisition Toolbox User’s Guide.pdf. The MathWorks Inc, 2014.
 Data Acquisition Toolbox User’s Guide.pdf. The MathWorks Inc, 2016.
 NI USB-621x Specifications.pdf. Austin, National Instruments, Corp., 2009.
Hristo Zhivomirov (2019). Data Acquisition Examples with Matlab Implementation (https://www.mathworks.com/matlabcentral/fileexchange/49744-data-acquisition-examples-with-matlab-implementation), MATLAB Central File Exchange. Retrieved .
A new version of the codes has been uploaded.