MATLAB Answers

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

조회 수: 3(최근 30일)
Toby Newman
Toby Newman 2021년 8월 3일
댓글: Toby Newman 2021년 8월 4일
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.
  댓글 수: 1
Toby Newman
Toby Newman 2021년 8월 4일
ver shows
Data Acquisition Toolbox Version 4.0.1 (R2019b)
So that explains it, thanks.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by