protected String instanceToMatlab(Instance inst){
  StringBuffer result;
  int i;
  result=new StringBuffer();
  for (i=0; i < inst.numAttributes(); i++) {
    if (i > 0) {
      result.append((m_UseTabs ? "\t" : " "));
    }
    result.append(m_Format.format(inst.value(i)));
  }
  return result.toString();
}

protected String instanceToMatlab ( Instance inst ) { StringBuffer result ; int i ; result = new StringBuffer ( ) ; for ( i = 0 ; i < inst . numAttributes ( ) ; i ++ ) { if ( i > 0 ) { result . append ( ( m_UseTabs ? "\t" : " " ) ) ; } result . append ( m_Format . format ( inst . value ( i ) ) ) ; } return result . toString ( ) ; }
turns the instance into a matlab row .
