error in generating .coe file fom audio file

I want to fetch the coefficients of a wave file into .coe file so that i can use it in Xilinx logicore file.for that i write the following code ,but it gives me error at wavread line. The code is following
Filename ='Click.wav';
Y = wavread (Filename);<----------- shows error
set (Y ,'arithmatic' ,'fixed');
Error is ----- can't support. I have keep the audio file in my matlab work folder please help me to resolve the problem .If the method to convert .wav file to .coe file is wrong then please suggest alternative method.
coewrite (Y ,16,'wavecoefile');

回答 (1 件)

debalina ghosh
debalina ghosh 2012 年 3 月 24 日

0 投票

can anybody resolve my problem ? ? ? its urjent

カテゴリ

ヘルプ センター および File ExchangeCode Generation and Deployment についてさらに検索

製品

質問済み:

2012 年 3 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by