正在加载图片...
Version 5 mat-file format MAT-File Header Format byte text field and two, 16-bit flag fields a 128-byte header made up of a 124 MATLAB Version 5 MAT-files begin with Header Text Field The first 124 bytes of the header can contain text data in human-readable form. This text typically provides information that describes how the mat-file was created. For example, MAT-files created by MATLAB include the following information in their headers MATLAB version Platform on which the file was created Date and time the file was created You can view the text in a MAT-file header using the cat command on UNIX systems, or the type command on a PC. The output displays the text in this part of the header. (The display of the header is followed by unreadable characters representing the binary data in the fil MATLAB 5.0 MAT-file. Pl at form: SoL2. Created on: Thu Nov 13 10:10:271997 Programming Note When creating a MAT-file, you must write data in the first four bytes of this header. MATLAB uses these bytes to determine if MAT-file uses a Version 5 format or a Version 4 format. If any of these bytes contain a zero, MAtlaB will incorrectly assume the file is a version 4 MAT-fileVersion 5 MAT-File Format 5 MAT-File Header Format MATLAB Version 5 MAT-files begin with a 128-byte header made up of a 124 byte text field and two, 16-bit flag fields. Header Text Field The first 124 bytes of the header can contain text data in human-readable form. This text typically provides information that describes how the MAT-file was created. For example, MAT-files created by MATLAB include the following information in their headers: • MATLAB version • Platform on which the file was created • Date and time the file was created You can view the text in a MAT-file header using the cat command on UNIX systems, or the type command on a PC. The output displays the text in this part of the header. (The display of the header is followed by unreadable characters representing the binary data in the file.) cat my_matfile.mat MATLAB 5.0 MAT-file, Platform: SOL2, Created on: Thu Nov 13 10:10:27 1997 Programming Note When creating a MAT-file, you must write data in the first four bytes of this header. MATLAB uses these bytes to determine if a MAT-file uses a Version 5 format or a Version 4 format. If any of these bytes contain a zero, MATLAB will incorrectly assume the file is a Version 4 MAT-file
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有