Why my code is giving error uwhile using 'analoginput' function?

I am using the code shown below:
AI=analoginput('winsound');
addchannel(AI,1);
I am getting this error:
Some one please explain why I am getting this error?
I have data acqusition tool box already installed.

Answers (0)

This question is closed.

Products

Release

R2020b

Asked:

on 2 Nov 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!