If you don't have specgram, install the
SignalProcessingToolbox for Matlab, in \\Stuapp\NETAPPS\ under
Matlab (the PLP key that it asks for is in \\Stuapp\Licences\
under Matlab.
After installing the toolbox, make sure that the DSPFIRST
directory is still in your Matlab path.