www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/PlaySampleDataatDefaultSampleRateSoundScExample.m

    %% Play Sample Data at Default Sample Rate  
% Load the example file |gong.mat|, which contains sample data |y| and rate
% |Fs|, and listen to the audio.   

%%  
load gong.mat;
soundsc(y);