'statsfminbx' issue with user-defined factoran()

4 次查看(过去 30 天)
Hi
While using
factoran(X,2) ; %where X <250*10>double
I keep getting the following error:
Undefined function 'statsfminbx' for input arguments of type 'cell'.
Error in factoran (line 269)
[Psi1, nll, lagrange, err, output] = ..
Could someone assist in debugging this please? as i do not see why this error occurs even after looking into line 269.
Thanks

采纳的回答

Steven Lord
Steven Lord 2015-8-17
Did you make a copy of factoran.m outside the Statistics and Machine Learning Toolbox directory? That's not going to work; delete that copy and use the copy inside the toolbox directory.
  1 个评论
Isma
Isma 2015-8-17
fair enough, I could not figure out since the error message was leading me "somewhere else". I confirm that your suggestion does work. Thanks a lot.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by