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

31 views (last 30 days)
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);

Accepted Answer

Walter Roberson
Walter Roberson on 27 Jan 2026 at 21:50
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 Comments
Theodros
Theodros on 28 Jan 2026 at 20:31
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!
Walter Roberson
Walter Roberson on 29 Jan 2026 at 7:30
There should be a button to Accept this Answer.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!