need help !! working with wave files in matlab

Thread Starter

butterfly

Joined Jan 28, 2009
3
hi,
i need to find a method to get only data from a wave file. I want to get rid of the time information from a wave file. does anyone know how to get rid of the time information and get only data from a wave file?
 

Dave

Joined Nov 17, 2003
6,969
Do you mean WAV file? If so, you can use WAVREAD:

Rich (BB code):
y = wavread('filename');
Where y is the sampled data from WAV file filename.

Dave
 

Thread Starter

butterfly

Joined Jan 28, 2009
3
thanks for the reply. I used the wavread command. I need to get this matrix of values to simulink model. how can i input it to a simulink model? which block should I use? I tried using 'From Workspace' block. It does not work. :(
 
Top