Function does not work despite having lisence
Show older comments

Hello everyone,
I'm trying to use the pwelch function, which is part of the signal processing toolbox, but I'm getting an error. Check out the screenshot which shows my licence is valid, but still the function does not run. The script I'm trying to run is an example provided in the matlab help file for pwelch (which does come up when I type help pwelch). Any ideas as to what may be going on?
Thanks! Trevor
2 Comments
michio
on 1 Sep 2016
Could you execute
which -all pwelch
to see if you have the function installed.
Madalina Rîurean
on 24 Nov 2020
I have the same problem. Matlab returns 'pwelch' not found. How do I install it?
Answers (1)
Star Strider
on 1 Sep 2016
Don’t panic! You could simply have a path problem.
Run these from the Command Window or from your script:
restoredefaultpath
rehash toolboxcache
Then give your pwelch call another go.
2 Comments
Trevor Harris
on 1 Sep 2016
Star Strider
on 1 Sep 2016
My pleasure. Also, my sympathies. I hope you can avoid reinstalling.
Categories
Find more on Spectral Estimation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!