Where is getDevice?

3 次查看(过去 30 天)
Mengli Feng
Mengli Feng 2019-3-23
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

回答(1 个)

Patel Mounika
Patel Mounika 2019-4-1
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 个评论
Steven Lord
Steven Lord 2019-4-1
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Data Acquisition Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by