在matlab2014之后,wavirecord函数被audiorecorder函数取代,要实现替换,可以做以下操作: x=wavrecord(Fs,Fs); with the following % create the recorder recorder=audiorecorder(Fs,8,1); % record one second of data record(recorder,1); % get the samples x = getaudiodata(recorder); 转载自https://cn…