Windows System Sounds

Play any Windows system sound from within MATLAB.

You are now following this Submission

Plays a Microsoft Windows system sound specified by an input string. Input string may be an exact filename of a .wav file in the C:\Windows\Media directory or a string with the "Windows" prefix removed from the filename.

Examples:
systemsound('critical stop')
systemsound('exclamation')

Tested with Windows 7, results may vary for older versions.

Cite As

Drew Weymouth (2026). Windows System Sounds (https://in.mathworks.com/matlabcentral/fileexchange/30979-windows-system-sounds), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0