Date: Nov 7, 2011 8:52 AM
Author: Nishat Anjum Shaikh
Subject: wav record problem in gui

function btnRecordvoice_Callback(hObject, eventdata, handles)

Fs = 8000;
y = wavrecord(2*Fs,Fs);
guidata(hObject, handles);

Whats the problem in this code? I am developing a speaker identification project for my final year. Please help how do i record a wave file and save it.