wblfit won't run despite having toolbox

1 次查看(过去 30 天)
Hey all,
I'm trying to use the wblfit function (within the statistics toolbox) and I'm having trouble actually running it. I do have the stats toolbox and when I do a help on the function, I get a description. When trying to run it, Matlab can't seem to find it. I feel like I'm missing something obvious here. Any ideas? See attached.
  1 个评论
John D'Errico
John D'Errico 2017-8-18
编辑:John D'Errico 2017-8-18
Your problem is MATLAB is like me. I can never figure out how to spell weibull. Is it i before e? And why does wblfit not have two L's in it?? I mean, I can't even figure out how to pronounce wblfit. So MATLAB gets confused. ;-)
Seriously, I'd first check to see if you can use other tools from the stats toolbox. normfit, or lognfit, for example?
I did check to see that wblfit was introduced long before R2012. So if you have a valid toolbox for your release, then it should be able to use wblfit.
wblfit(rand(100,1))
ans =
0.55071 1.4476

请先登录,再进行评论。

回答(2 个)

Star Strider
Star Strider 2017-8-18
The first approach for such problems is to run these calls from the Command Window or a script:
restoredefaultpath
rehash toolboxcache
If that doesn’t work, Contact Support (link).

Trevor Harris
Trevor Harris 2017-8-22
Neither seemed to work, I'll contact support. Thanks!

Community Treasure Hunt

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

Start Hunting!

Translated by