'grp2idx' error in matlab 2011b

4 vues (au cours des 30 derniers jours)
vivek n
vivek n le 11 Fév 2012
I receive the "Undefined function 'grp2idx' for input arguments of type 'double'." error while using svmtrain() in 2011b. Incidentally, I also have matlab2010a but observed that I do not get this error while running the command with the 2010a version. I noted that the statistics toolbox folder is present in both versions. What is the problem and how do I overcome it?
thanks
Vivek

Réponses (2)

Walter Roberson
Walter Roberson le 11 Fév 2012
It should exist.
Please check
which -all grp2idx
on both systems. On my R2008b system it shows up as toolbox/stats/grp2idx.m
  7 commentaires
Tom Lane
Tom Lane le 13 Fév 2012
Would you try
which pathdef -all
and let me know what you see?
vivek n
vivek n le 13 Fév 2012
I got the result below:
..\My Documents\MATLAB\pathdef.m
C:\Program Files\MATLAB\R2011b\toolbox\local\pathdef.m % Shadowed

Connectez-vous pour commenter.


wahyu
wahyu le 27 Nov 2012
i have the same problem too,, then, i search in google grp2idx.m, then i saved it, alhamdulillah my svmtrain could work well after that :D may be my instalation is not complette.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by