This works fine for me in Windows. It captures stereo and displays left and right waveforms: y = wavrecord(5000, 22050, 2);
subplot(2,1,1); plot(y,1));
subplot(2,1,2); plot(y,2));
Be sure your operating system's audio mixer is set properly.
Any one can help me to implemant a matlab programme in real time i.e speaking and listening to the modified signal in real time. I tried to use analoginput and analogoutput functions and to divide each time my signals in 20 ms time, but I can’t synchronise between two successive frames.
Matlab/Simulink can do it but how can I do it by a *. Programme.