Can Matlab make a sound?
If you have configured your system not to produce any sound, then beep is silent. beep produces the operating system's default beep sound. To produce a sound and specify its pitch and duration in MATLAB®, use the sound function.
How do I get sound in Matlab?
Description. sound( y ) sends audio signal y to the speaker at the default sample rate of 8192 Hz. sound( y , Fs ) sends audio signal y to the speaker at sample rate Fs . sound( y , Fs , nBits ) uses nBits bits per sample for audio signal y .