i copy code below from a refrence book but it shows the error that you cant use this code in 64 bit interface.i read the help but it wasn't useful.now please show me how to figure this code in win 7?
A=analoginput('winsound');
addchannel(A , 1:2);
set(A , 'SampleRate' , 48000);
set(A , 'SamplePerTrigger' , 240000);
start(A);
Dat=getdata(A);
plot(Dat)
and erroe is this:
??? Error using ==> analoginput.analoginput at 46
To learn about using data acquisition devices on the win64 platform,
see the documentation on the session-based interface.