Function does not work despite having lisence
显示 更早的评论

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 个评论
michio
2016-9-1
Could you execute
which -all pwelch
to see if you have the function installed.
Madalina Rîurean
2020-11-24
I have the same problem. Matlab returns 'pwelch' not found. How do I install it?
回答(1 个)
Star Strider
2016-9-1
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 个评论
Trevor Harris
2016-9-1
Star Strider
2016-9-1
My pleasure. Also, my sympathies. I hope you can avoid reinstalling.
类别
在 帮助中心 和 File Exchange 中查找有关 Spectral Estimation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!