View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Data Acquisition

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0 | 5 ratings Rate this file 263 Downloads (last 30 days) File Size: 742 KB File ID: #44234 Version: 4.1
image thumbnail

Data Acquisition


Isaac Noh (view profile)


08 Jan 2014 (Updated )

This app allows a user to interactively configure/control their data acquisition devices.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information

This app is a quick way to get up and running with the Data Acquisition Toolbox. The app allows a user to quickly discover, connect to, and control their data acquisition card from MATLAB without prior knowledge of the programming interface to Data Acquisition Toolbox. The app provides an easy to use interface to your data acquisition card and allows you to visualize results and save them to a MAT-file. It also allows the user to generate MATLAB code from the interactive work done with the app, which the user can use to automate their data acquisition process, as well as, learn the programming interface from a relevant working example.
- Support for audio/analog input, audio/analog output, and non-clocked digital I/O.
- Save captured data to MAT-File (File menu)
- Generate MATLAB code from interactive work (File menu)
- Supports 32-bit and 64-bit Windows versions
- Supports both the legacy interface and the session-based interface.
Note: Audio support for 64-bit Windows begins in R2014a and requires the Direct Sound HW Support Package (free download via MATLAB's "Add-Ons" button).


This file inspired Apps And Models For Teaching Numerical Sciences And Computer Science.

Required Products Data Acquisition Toolbox
MATLAB release MATLAB 8.2 (R2013b)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
19 Oct 2016 Sergey Makovkin

What about synchronizing Analog Output generator channel and Analog Input channel on one plot?

18 Oct 2016 Sergey Makovkin  
19 Aug 2016 Bernardo H. Murta

Couldn't learn better and faster to control NI interfaces without this MATLAB code generation.

Thank you a lot!

25 Aug 2015 VISWANATH

Fantastic app!! It works in a few clicks but was using USB6001 had problem at first instant. This link solved the problem

Thanks a mil!!

11 Sep 2014 Or Hirshfeld

it's great stuff, thank you very much.
helped me to finish my project

if you have problem connectiing to NI try to install offical NI matlab support

this installtion only worked for me on matlab 2013+

08 Sep 2014 Dan

Dan (view profile)

All I seem to be getting from the download is a license file.

Comment only
19 May 2014 Isaac Noh

Isaac Noh (view profile)

The data save issue has been fixed.

Comment only
11 Apr 2014 Ali

Ali (view profile)

Hey, Is there any way I can save the data using this app, I'm using mydaq from NI and every time I try to save the data after I collect it I got this error :
Error while evaluating uimenu Callback

Cell contents reference from a non-cell array object.

Error in cell2mat (line 43)
cellclass = class(c{1});

Error in C:\Users\Amin
(line 1924)

Error in C:\Users\Amin
(line 2704)

Error in C:\Users\Amin
(line 42)

Error in C:\Users\Amin
(line 2569)

Error while evaluating uimenu Callback

Comment only
08 Jan 2014 1.1

1.04: Bug fixes

14 Jan 2014 1.2

Updated description.

19 Mar 2014 1.4

- Updated description

20 Mar 2014 1.5

Bug fixes and added Session Log display

21 Mar 2014 1.6

Updated description and bug fixes (v1.4)

19 May 2014 1.7

Version 1.5: Fixed data save issue and other improvements.

28 Apr 2015 1.8

New version for R2014b and newer (older version still included for R2013b-R2014b).

21 Sep 2016 4.1

Version 4.1:
• Export data to workspace
• Added digital I/O, and bidirectional channel support
• Support for different clock sources
• Support for unclocked (single-scan) sessions
• Generate a clock signal
• Add counter I/0 support
• Bugs fixes

Contact us