This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Produce operating system beep sound


  • status = beep



beep produces your computer's default beep sound, if it is enabled.

beep on enables the beep sound.

beep off disables the beep sound.

status = beep returns the current beep mode (on or off).


collapse all

Produce your system's default beep sound after a period of silence.

Pause for 5 seconds of silence, and then produce your system's default beep sound.


More About

collapse all


  • 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.

See Also

Introduced before R2006a

Was this topic helpful?