13.07.2015 Views

MAT-File Format - SERC

MAT-File Format - SERC

MAT-File Format - SERC

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Level 5 <strong>MAT</strong>-<strong>File</strong> <strong>Format</strong>Header Subsystem Data Offset FieldBytes 117 through 124 of the header contain an offset to subsystem-specificdata in the <strong>MAT</strong>-file. All zeros or all spaces in this field indicate that there isno subsystem-specific data stored in the file.Header Flag FieldsThe last four bytes in the header are divided into two, 16-bit flag fields (int16).FieldValueVersion When creating a <strong>MAT</strong>-file, set this field to 0x0100.EndianIndicatorContains the two characters, M and I, written to the<strong>MAT</strong>-file in this order, as a 16-bit value. If, when readfrom the <strong>MAT</strong>-file as a 16-bit value, the characters appearin reversed order (IM rather than MI), it indicates that theprogram reading the <strong>MAT</strong>-file must performbyte-swapping to interpret the data in the <strong>MAT</strong>-filecorrectly.Note Programs that create <strong>MAT</strong>-files always write data in their nativemachine format. Programs that read <strong>MAT</strong>-files are responsible forbyte-swapping.1-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!