Is there documentation on the structure of MAT-files in MATLAB?
17 次查看(过去 30 天)
显示 更早的评论
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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!