I already solved this problem. It was undelcared function use, corrected by the foloiwng line of code:
audioIn = audioDeviceReader('SampleRate',fs, ...
'SamplesPerFrame',floor(fs/20));
Thanks
Veton
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!