image thumbnail


version 1.0.0 (1.16 KB) by Basile Van Hoorick
Plays an audio signal using the built-in audioplayer object.


Updated 09 Jun 2019

View License

The MATLAB function wavplay was deprecated starting from R2012b and removed in R2014a. In order to preserve backwards compatibility with files written in older versions of MATLAB, this file reintroduces said function so that no code has to be modified.

Note that wavplay(x, Fs) is the only allowed set of arguments. The code is quite trivial, so it can be amended easily if you would like to support more functionality.

Cite As

Basile Van Hoorick (2021). wavplay (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with R2014a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!