Clear Filters
Clear Filters

Function does not work despite having lisence

3 views (last 30 days)
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
michio on 1 Sep 2016
Could you execute
which -all pwelch
to see if you have the function installed.
Madalina Rîurean
Madalina Rîurean on 24 Nov 2020
I have the same problem. Matlab returns 'pwelch' not found. How do I install it?

Sign in to comment.

Answers (1)

Star Strider
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.
If that doesn’t work, and you’re still having problems, contact Tech Support.
  2 Comments
Trevor Harris
Trevor Harris on 1 Sep 2016
Thanks for the suggestion. That didn't solve the problem, so I've contacted support. I'll let you know how it goes!
Trevor
Star Strider
Star Strider on 1 Sep 2016
My pleasure. Also, my sympathies. I hope you can avoid reinstalling.

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!