This tutorial/demo presents The Design of a sound level meter in Matlab. The Data Acquisition Toolbox is used to implement a real-time spectrum analyzer. The decibel meter is implemented in the Frequency domain using Parseval's relation.
Documentation is provided in the included PDF.