insert mp3 file in matlab
31 views (last 30 days)
Show older comments
How can I add a mp3 file in Matlab ?
0 Comments
Accepted Answer
Azzi Abdelmalek
on 2 May 2014
Edited: Azzi Abdelmalek
on 2 May 2014
You can use audioread function
[y,fs]=audioread('yourfile.mp3')
To play your file
sound(y,fs)
Look at
doc audioread
More Answers (0)
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!