Since I installed the Wavelet Toolbox for Matlab 2019b, I have been having problems with the Signal Processing Toolbox.
The functions fvtool and spectrogram dont work, as they dont detect some subfunctions. Fvtool has the error "undefined function 'engunits'" and spectrogram has the error "Unrecognized function or variable 'psdfreqvec'." This psdfreqvec function was probably supposed to be in the signal toolbox's private functions but it isnt there for some reason.
Unrecognized function or variable 'psdfreqvec'.
Error in computeDFT>computeDFTviaFFT (line 91)
f = psdfreqvec('npts',nfft,'Fs',Fs);
Error in computeDFT (line 45)
[Xx,f] = computeDFTviaFFT(xin,nx,nfft,Fs);
Error in pspectrogram (line 67)
[y,f] = computeDFT(bsxfun(@times,win,xin),nfft,Fs);
Error in spectrogram (line 183)
I've tried uninstalling and reinstalling these toolboxes, updating the toolbox cache with the rehash function, updating matlab 2019b to version 8 and restoring the default path, with no success.
Thanks in advance for your help!
EDIT: I fixed the problem by doing a fresh reinstall of MATLAB!