save a  .mat file of feature array and meta array