MATLAB File Help: prtDataSetClass/removeClasses
prtDataSetClass/removeClasses
  removeClasses remove observations corresponding to
  specified classes
 
    subDataSet = dataSet.removeClasses(classes) returns a
    data set subDataSet containing only the observations that
    have DO NOT have targets equal to the specied values
 
    classes can be specified as an array of class values,
    or as a cell array of strings containing the class names.
 
    ds = prtDataGenIris;
    ds12 = ds.removeClasses(3);
 
    ds12_v2 = ds.removeClasses({'Iris-virginica'});

Help for prtDataSetClass/removeClasses is inherited from superclass prtDataInterfaceCategoricalTargets
Method Details
Defining Class prtDataInterfaceCategoricalTargets
Access public
Sealed false
Static false