
fs = 8000;             
f = 220;                
t = 0:1/fs:5;          
s = sin(2*pi*f*t);      
c = sin(2*pi*3*f*t);

M(:,1) = s;
M(:,2) = c;

ao = analogoutput('winsound',0);
addchannel(ao,1:2);
set(ao,'SampleRate',fs);

putdata(ao,M);

start(ao);
%delete(ao);
