Where is getDevice?

3 views (last 30 days)
Mengli Feng
Mengli Feng on 23 Mar 2019
Commented: Steven Lord on 1 Apr 2019
Dear all,
I am trying to Acquire Continuous Audio Data in matlab.
However, I cannot find the function getDevices.
Does anyone know why?
I'm using 2019a

Answers (1)

Patel Mounika
Patel Mounika on 1 Apr 2019
GetDevices function is available in MATLAB R2019a which displays all available data acquisition devices.
Syntax:
daq.getDevices
device = daq.getDevices
Refer to below documentation.
  1 Comment
Steven Lord
Steven Lord on 1 Apr 2019
The daq.getDevices function (the "daq." part is important!) is part of Data Acquisition Toolbox. Check the output of ver to see if you have this product installed. If you do, run:
device = daq.getDevices

Sign in to comment.

Categories

Find more on Data Acquisition Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!