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 comentarios

Could you execute
which -all pwelch
to see if you have the function installed.
I have the same problem. Matlab returns 'pwelch' not found. How do I install it?

Iniciar sesión para comentar.

Respuestas (1)

Star Strider
Star Strider el 1 de Sept. de 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 comentarios

Trevor Harris
Trevor Harris el 1 de Sept. de 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 el 1 de Sept. de 2016
My pleasure. Also, my sympathies. I hope you can avoid reinstalling.

Iniciar sesión para comentar.

Preguntada:

el 1 de Sept. de 2016

Comentada:

el 24 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by