How can I list which file format version was used for existing .MAT files?
18 ビュー (過去 30 日間)
古いコメントを表示
Hi, we have a large application where Matlab .MAT files are stored on a network and shared between different users. These users run different versions of Matlab, ranging from v6.1 up to v8.2 (R2013B). In updating this application from v6.1, we initially did not recognize that the MAT file format had changed -- this has since been fixed. In the interim period, however, we inadvertently created a mix of .MAT files created with different versions of Matlab. I would like to list which version each .MAT file is stored in so that I can work on standardizing the file format to version 6. I have not been able to find any way to list the file version, however. Any ideas?
Thanks for your help.
0 件のコメント
回答 (1 件)
Wayne King
2014 年 1 月 7 日
編集済み: Wayne King
2014 年 1 月 7 日
type('matfilename.mat')
Or the functional form
type matfilename.mat
Should give you the MAT file version and platform information.
参考
カテゴリ
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!