Set the SamplesAcquiredFcn property

I am trying to acquire voice through sound port but am getting the following warning.
Warning: The SamplesAcquiredFcn callback is being disabled. To enable the callback, set the SamplesAcquiredFcn property.
kindly suggest how to set the SamplesAcquiredFcn property.
Also if i want to record and display voice in real time how can i do that. Moreover i also want to extract 2sec data & process it and then again exract 2 sec data do the same processing as the voice continuously keeps on recording.
Anybody please help. Thanks.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Digital Input and Output 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by