revised matlab interface for meta data