'statsfminbx' issue with user-defined factoran()

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

 Réponse acceptée

Steven Lord
Steven Lord le 17 Août 2015

0 votes

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 commentaire

Isma
Isma le 17 Août 2015
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Question posée :

le 17 Août 2015

Commenté :

le 17 Août 2015

Community Treasure Hunt

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

Start Hunting!

Translated by