Hi - svmtrain and svmclassify are both definitely in the "bioinfo" official matlab toolbox that I'm using. I'm using MATLAB R2012a - so maybe either you don't have bioinfo correctly installed, or maybe you need a later version…. Cheers. On 21 Sep 2012, at 13:31, SUBSCRIBE FSL B. Jeong wrote: > Hi Steve, > > I've seen the matlab path for Statistics (stats), Bioinformatics (bioinfo), Signal Processing (signal). > Error message '??? Reference to non-existent field 'GroupNames' dosen't seem like the absence of toolboxes. > In nets_lda, 'svmStruct.GroupNames' field may be not produced for providing to svmclassify.m > > Bumseok > >>>> [lda_percentages]=nets_lda(netmat1,28) >> ??? Reference to non-existent field 'GroupNames'. >> >> Error in ==> svmclassify at 90 >> groupnames = svmStruct.GroupNames; >> >> Error in ==> nets_lda at 61 >> lda(7,n)=svmclassify(svmstruct,xx')*2-1; % SVM > > --------------------------------------------------------------------------- Stephen M. Smith, Professor of Biomedical Engineering Associate Director, Oxford University FMRIB Centre FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK +44 (0) 1865 222726 (fax 222717) [log in to unmask] http://www.fmrib.ox.ac.uk/~steve ---------------------------------------------------------------------------