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

5 vues (au cours des 30 derniers jours)
Toby Newman
Toby Newman le 3 Août 2021
Commenté : Toby Newman le 4 Août 2021
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 commentaire
Jakeb Chouinard
Jakeb Chouinard le 3 Août 2021
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?

Connectez-vous pour commenter.

Réponse acceptée

Adam Danz
Adam Danz le 3 Août 2021
daq() was released in R2020a which is vs. 4.1 of the Data Acquisition Toolbox.
  1 commentaire
Toby Newman
Toby Newman le 4 Août 2021
ver shows
Data Acquisition Toolbox Version 4.0.1 (R2019b)
So that explains it, thanks.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by