need help combining UIOPEN & wavread

8 ビュー (過去 30 日間)
kobi
kobi 2014 年 11 月 22 日
コメント済み: Geoff Hayes 2014 年 11 月 23 日
hello,
i wrote a function that reads a wave file using wavread and does the goertzel algorythem (encoding it from a dialing tone to a a phone number), anyway - simultanisley - i've been building a GUI that uses UIOPEN on a button click, and it works, but how can i run the function i wrote by loading a wave file and not by using a waveread..? (there are two .m files - one for the GUI and one for the DSP).
thanks ahead
  2 件のコメント
kobi
kobi 2014 年 11 月 22 日
anybody? it's quiet urgent, i have to hand it by monday :)
Geoff Hayes
Geoff Hayes 2014 年 11 月 23 日
kobi - are you using uiopen to allow the user to select and open any file with extension wav? If so, then why not just use uigetfile to get the file and pass it (the path and filename) to the function that reads a wave file using wavread?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by