Info

This question is closed. Reopen it to edit or answer.

How to record audio using MATLAB?

1 view (last 30 days)
reema shrestha
reema shrestha on 15 Oct 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
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?

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!