我有两个 .mat 文件 foo.mat
和 foo2.mat
。除了上面的时间戳之外,它们是相同的。我使用 visdiff
来检查差异,它说它们是相同的,除了它们的二进制文件。如何在忽略时间戳的情况下比较 .mat 文件?
我得到的输出是 HTML:
<html>
<head></head>
<body class="binarycomparisonreport">
<center><p>Comparing<br>
c:\svnTrunk\Simulations\foo.mat<br>
and<br>c:\svnTrunk\Simulations\foo2.mat<br>
using Binary comparison:<p>
The files are <b>different</b>.</p></center>
</body></html>
最佳答案
File exchange 中有一个名为“Mat file header utilities”的实用程序,用于读写.mat
文件头
http://www.mathworks.com/matlabcentral/fileexchange/39566-mat-file-header-utilities
虽然没有测试。
关于matlab - 如何比较具有不同时间戳的matlab中的.mat文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21289014/