Unable to resolve the name 'dsp.priva​te.designW​indow'.

I have received the following error when I try to run the auditorySpectrogram function.
Can you please help?
Unable to resolve the name 'dsp.private.designWindow'.
"win = dsp.private.designWindow(params.WindowType,params.WindowLength,params.Datatype);

 Réponse acceptée

Walter Roberson
Walter Roberson le 27 Jan 2026

0 votes

There does not appear to be any auditorySpectrogram function in MATLAB itself. There is an auditory spectrogram Simulink block, https://www.mathworks.com/help/audio/ref/auditoryspectrogramblock.html
There appears to be a function dsp.internal.designWindow

4 commentaires

Theodros
Theodros le 28 Jan 2026
Déplacé(e) : Walter Roberson le 28 Jan 2026
That is correct, the auditorySpectrogram function was created by a user.
My main question is why am I receving "Unable to resolve the name 'dsp.private.designWindow'" when I have the DSP System Toolbox installed on my latop? Also, when I apply "which dsp" command at the command line, i get " 'dsp' not found" error.
We have no information about what auditorySpectrogram is doing. It might be calling dsp.private.designWindow directly. Perhaps it was written for an older version of MATLAB in which (hypothetically) dsp.internal.designWindow as formerly known as dsp.private.designWindow .
Thank you! The auditorySpectrogram function uses "dsp.private.designWindow" function.
Replacing that with "dsp.internal.designWindow" has fixed the problem. With this, i'd like to close this request as complete.
Thanks a lot for your help!
There should be a button to Accept this Answer.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by