MATLAB Answers


soundsc function and Matlab 2012a

Asked by Alan Armstrong on 27 Aug 2012


I recently upgraded Matlab from 2010a to 2012a and for some reason I'm having issues using soundsc. Before when I used the line of code: soundsc(sinewave, Fs) matlab would read the line begin playing the audio signal and continue reading through the rest of my code. But for some reason now in matlab 2012a it stops and waits until the audio has played in full then moves through the code.

I need matlab to read this line, begin playing the audio and continue reading the rest of the code so I can synchronize another stimulus with my audio.

thanks in advance,



Log in to comment.

0 Answers

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!