Windows System Sounds
Version 1.0.0.0 (1.44 KB) by
Drew Weymouth
Play any Windows system sound from within MATLAB.
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://uk.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 LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
Find more on Audio and Video Data in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
