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 Commenti

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

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by