recordblocking dos not record anything

I have same problem as here but I have Windows 10 1904 MATLAB 2019b.
myVoice = audiorecorder;
recordblocking(myVoice, 5);
y = getaudiodata(myVoice);
play(myVoice);
Although I can see microphone on taskbar is activated during 5 seconds recording, the y array is totally zero and nothing played.

2 个评论

I upgraded MATLAB to 2021a but the problem still exists! (and OS: windows 10 21H1)

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by