analoginput not working on 64 bit

1 view (last 30 days)
Sreedev
Sreedev on 10 Apr 2013
I am using MATLAB 2012b. I used the analoginput command and MATLAB asks me to follow certain documentation. The code I tried to run was:
a=analoginput('winsound');
addchannel(a,1);
a.SampleRate=8000;
a.SamplesperTrigger=40000;
a.TriggerType='immediate';
start(a)
[d,t]=getdata(a);
plot(t,d)
zoom on
The error I got
Error using analoginput (line 46)
To learn about using data acquisition devices on the win64 platform, see
the documentation on the session-based interface.
I am a newbie so can someone post the code for getting the thing work on 64bit version

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!