PRTools manual
FINDLABELS
J = FINDLABELS(A,LABELS)
J is a column vector of indices to the objects in A that have one of the labels stored in LABELS.