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

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

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일

0 개 추천

daq() was released in R2020a which is vs. 4.1 of the Data Acquisition Toolbox.

댓글 수: 1

ver shows
Data Acquisition Toolbox Version 4.0.1 (R2019b)
So that explains it, thanks.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2021년 8월 3일

댓글:

2021년 8월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by