Code covered by the BSD License
06 Apr 2011
Play any Windows system sound from within MATLAB.
Watch this File
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.
Tested with Windows 7, results may vary for older versions.
Does just what it said and just what I needed