MATLAB: Am I unable to obtain any output in the Command Window after I use the SOUND function in MATLAB 6.5 (R13) on Mac OS X 10.2.5

javamacMATLABsound

Why am I unable to obtain any output in the Command Window after I use the SOUND function in MATLAB 6.5 (R13) on Mac OS X 10.2.5?
If I run the example below on Mac 10.2.5:
load chirp
sound(y,Fs)
a=1
b=1
I can hear the sound but the values of "a" and "b" are not displayed in the Command Window until I perform an additional action – for example, hitting the Enter key or clicking the mouse.
The example above works fine on Mac OS X 10.2.4.

Best Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
This is a bug in MATLAB 6.5 (R13) in the way the SOUND function performs on the Mac. Our development staff is investigating this issue.
The problem can be resolved by following steps outlined in the related solutions section at the bottom of this page.