Is there documentation on the structure of MAT-files in MATLAB?

18 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
編集済み: MathWorks Support Team 2020 年 11 月 12 日
Is there documentation on the structure of MAT-files in MATLAB?
I would like to create MAT-files without the presence of MATLAB. These MAT-files will be created in my C or FORTRAN programs, but read in at a later time into MATLAB.

採用された回答

MathWorks Support Team
MathWorks Support Team 2020 年 11 月 12 日
編集済み: MathWorks Support Team 2020 年 11 月 12 日
We strongly recommend using our MAT-file routines, described in our External Interfaces manual, for reading and writing MAT-files in MATLAB. This will ensure compatibility should the structure of the MAT-file change in the future.
Should it be absolutely necessary to write your own routines to read/write MAT-files, we have published the MAT-file format in the Access area of our web site. To find this PDF document, point your web browser to:
Note that MATLAB 5.x and later can read MATLAB 4.x MAT-files. Therefore, if you have code that you used in MATLAB 4.x to create MAT-files, you can still create MAT-files with this code and read the MAT-files into MATLAB 5.x and later versions.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT Files についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by