MATLAB Answers

how to import .mp3 files to matlab

32 views (last 30 days)
gowthami kommineni
gowthami kommineni on 4 Jan 2016
Answered: Daniel LaCroix on 4 Jan 2016
iam trying to import mp3 audio files like this hfr = mp3read('C:\Users\Dell\Desktop\Kerintha.mp3'); it s showing error like this ??? Undefined function or method 'mp3read' for input arguments of type 'char'. can u plz tell me the way to load mp3 files.

  0 Comments

Sign in to comment.

Answers (1)

Daniel LaCroix
Daniel LaCroix on 4 Jan 2016
The error says there is an undefined function or method. This is because mp3read is not a MATLAB function. Use audioread.
If you have future errors like this, check the MATLAB documentation to make sure you have the name of the function correct.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by