Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to record audio using MATLAB?

1 次查看(过去 30 天)
reema shrestha
reema shrestha 2017-10-15
关闭: MATLAB Answer Bot 2021-8-20
I tried to record audio using microphone using the following code.
recObj=audiorecorder(8000,8,1);
disp('Start speaking.')
record(recObj,5);
disp('End of Recording.');
But the problem is while I run the program,MATLAB stops working and closes the program.I am using MATLAB 7. I also looked for the documentation for my version thinking if recording is no compatible for my version.But it is compatible. Can anyone help me with it?

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by