MATLAB: Mp3read gives error – Data compression format (Format #65534) is not supported.

format #65534mp3read

Hello,
I have some .wav files and .mp3 files and am trying to find the spectrogram of both the files, to find how much information gets lost from .wav to .mp3 . Since Matlab cannot read mp3 files, I downloaded mp3read extension for Matlab, However, when matlab reads the mp3 file using the mp3read command ,it gives this error..
>> [mp3signal fsmp3]=mp3read(songname_mp3); ??? Error using ==> wavread at 166 Data compression format (Format #65534) is not supported.
Error in ==> mp3read at 333 [Y,FS] = wavread(tmpfile);
Could anyone suggest what could be done ? I would not like to convert the mp3 file into wav format, because then the purpose of finding the spectrogram gets lost.
Related Question