Table of Contents

MAT (Matlab MAT file with data field)

Motivation

The file formats that support reading channel recordings (ACQ and NTT) cannot be saved back to disk. It was a choice of convenience to create a (more or less) compatible format that can be easily saved (and also is available later without the toolbox).

General setup

Whereas most binary formats come with a specific field-by-field description, MAT files are simply loaded and stored in a xff object, with the main addition that for files not prior created with the toolbox, the largest numeric variable will be assigned to the .Data field and all other variables are stored in the .Info sub-struct.

Example

If a MAT file on disk has the following variables:

Reading this file as an xff object will make the data available as:

Upon saving this object, the .Data property will, again, be stored in a variable with the name of .DataFieldName (and the .DataFieldName will be added to the MAT file so as not having to re-detect the data field).