d = daq("directsound") yields "Unrecognized function or variable 'daq'"

4 次查看(过去 30 天)
I'm trying to play audio from a multichannel soundcard as per this: https://uk.mathworks.com/help/daq/multichannel-audio-generation-using-an-audio-session.html.
The command on that page:
dq = daq("directsound")
yields
"Unrecognized function or variable 'daq'".
I have the Data Acquisition Toolbox v4.0.1 installed.
Any ideas?
  1 个评论
Jakeb Chouinard
Jakeb Chouinard 2021-8-3
Since it's returning an "Unrecognized function or variable 'daq'" error, my first instinct would be to question the installation of the toolbox. If you type in the command "ver" (see ver), does the toolbox show up as being installed?

请先登录,再进行评论。

采纳的回答

Adam Danz
Adam Danz 2021-8-3
daq() was released in R2020a which is vs. 4.1 of the Data Acquisition Toolbox.

更多回答(0 个)

类别

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

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by