MAT文件兼容

来源:互联网 发布:淘宝美工工资 编辑:程序博客网 时间:2024/06/08 07:52

MAT文件兼容

在版本14中,MATLAB7.0写入字符和图像数据到MAT文件默认使用的是Unicode编码。采用Unicode编码的MAT文件在早期MATLAB版本中是不能够被读取的。因此,如果你使用MATLAB7.0保存到一个MAT文件中,并且你打算去加载这个MAT文件到一个早期的MATLAB版本中,你必须在保存过程中使用默认的Unicode去覆盖原文件。

关于如何不顾及这个默认的信息,查看制作版本14 MAT文件,在早期版本读取,在线MATLAB 7.0版本记录的External Interface/APIUpgrade lssues部分。


MAT-File Compatibility

In Release 14, MATLAB 7.0 writes character and figure data to MAT-files using Unicode encoding by default. Unicode encoded MAT-files are not readable by earlier versions of MATLAB. Thus, if you save data to a MAT-file using MATLAB 7.0, and you intend to load this MAT-file into an earlier release of MATLAB, you must override the Unicode default during the save.

For information on how to override this default, see Making Release 14 MAT-files Readable in Earlier Versions in the External Interface/API Upgrade Issues section of the online MATLAB 7.0 Release Notes.

原创粉丝点击