Windows System Sounds

Play any Windows system sound from within MATLAB.
589 Downloads
Updated Wed, 06 Apr 2011 22:59:06 +0000

View License

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 (2024). Windows System Sounds (https://www.mathworks.com/matlabcentral/fileexchange/30979-windows-system-sounds), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0