MAT-File Format - SERC
MAT-File Format - SERC MAT-File Format - SERC
1 MAT-File FormatAgain, we strongly advise against using this approach, and recommend thatyou instead use the MAT-file access routines provided in the External InterfaceLibrary. You will need to write your own C code as shown above only if you donot have the MAT-file access routines for the particular platform on which youneed to read and write MAT-files.1-40
IndexAarray flags subelement 1-15in sparse arrays 1-22array name subelement 1-18Bbyte swapping 1-7Ccell arraysexample 1-27MAT-file format 1-26character arraysMAT-file format 1-15classesMATLAB arrays 1-17complex numbersin MAT-files 1-16compressing data when savingdata storage 1-12decompressing variables 1-12description 1-12miCOMPRESSED data type 1-9number of bytes 1-10compression, data elementdescription 1-10compression, numericdescription 1-19example 1-21Ddata elementsalignment 1-10cell arrays 1-26character array format 1-15compressed format 1-10defined 1-4format 1-8MATLAB arrays 1-14numeric array format 1-15objects 1-33padding bytes 1-10sparse array format 1-22structures 1-29subelements 1-14data typeschanged by compression 1-19MAT-file vs. MATLAB 1-16used in MAT-files 1-8dimensionsdetermining number of 1-18dimensions array subelement 1-17EEndian indicator 1-7Ffield name lengthin structure data elements 1-30field namesin structure data elements 1-30flagsformat 1-16Gglobal variablesin MAT-files 1-16Index-1
- Page 1 and 2: MATLAB®The Language of Technical C
- Page 3: Revision History:June 1999 Online o
- Page 6 and 7: 1 MAT-File FormatIntroductionThis d
- Page 8 and 9: 1 MAT-File FormatLevel 5 MAT-File F
- Page 10 and 11: 1 MAT-File FormatMAT-File Header Fo
- Page 12 and 13: 1 MAT-File FormatData Element Forma
- Page 14 and 15: 1 MAT-File FormatFor character data
- Page 17 and 18: Level 5 MAT-File FormatEach variabl
- Page 19 and 20: Level 5 MATLAB Array Data Element F
- Page 21 and 22: Level 5 MATLAB Array Data Element F
- Page 23 and 24: Level 5 MATLAB Array Data Element F
- Page 25 and 26: Level 5 MATLAB Array Data Element F
- Page 27 and 28: Level 5 MATLAB Array Data Element F
- Page 29: Level 5 MATLAB Array Data Element F
- Page 32 and 33: 1 MAT-File Formatsee “Numeric Arr
- Page 34 and 35: 1 MAT-File FormatDimensions Array S
- Page 36 and 37: 1 MAT-File FormatFigure 1-14: Examp
- Page 38 and 39: 1 MAT-File FormatClass. This field
- Page 40 and 41: 1 MAT-File FormatLevel 4 MAT-File F
- Page 42 and 43: 1 MAT-File FormatTable 1-8: Level 4
- Page 46 and 47: IndexHheaderdefined 1-4flag fields
- Page 48: IndexIndex-4
1 <strong>MAT</strong>-<strong>File</strong> <strong>Format</strong>Again, we strongly advise against using this approach, and recommend thatyou instead use the <strong>MAT</strong>-file access routines provided in the External InterfaceLibrary. You will need to write your own C code as shown above only if you donot have the <strong>MAT</strong>-file access routines for the particular platform on which youneed to read and write <strong>MAT</strong>-files.1-40