Use of regress function in Matlab version 7.11.0 R2010b
Afficher commentaires plus anciens
Hi,
I had been using the regress function without any problems in the 2007 version of Matlab running on Windows Vista.
Recently our university upgraded to both Windows 7 and Matlab 2010 at the same time, and now I can't get the regress function to work (I have made no changes to the m-file).
The error message displayed when I try and run the function is:
??? Undefined function or method 'regress' for input arguments of type 'double'.
I have tried changing the input arguments to single, but the same error message is shown with 'single' instead of 'double'
Any ideas on why I am getting this error measage?
Thanks
Réponse acceptée
Plus de réponses (2)
Oleg Komarov
le 12 Juil 2011
1 vote
type ver to check that the statistics toolbox is installed
2 commentaires
Sam harris
le 12 Juil 2011
Oleg Komarov
le 12 Juil 2011
try to type doc regress, if nothing comes up then try rehash toolbox, if still doesn't work you probably need to re-check the permissions/reinstall the toolbox.
Fangjun Jiang
le 12 Juil 2011
1 vote
I think function regress() is in the Statistics Toolbox. By any change your new version of the MATLAB software suite no longer has that toolbox anymore? Type ver to check.
1 commentaire
Sam harris
le 12 Juil 2011
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!