isEqualCrawler

版本 1.0.0.0 (1.8 KB) 作者: Yanai
Find if A and B are equals, and if not - why
150.0 次下载
更新时间 2011/12/1

查看许可证

similar to Matlab's isequalwithequalnans, but also return the mismatched fields
%
% use: [equal, badFields] = isEqualCrawler(A, B)
%
% example:
% [equal, badFields] = isEqualCrawler(struct('a',1,'b',2), struct('a',3))
%
% equal = 0
% badFields' =
% 'field (base).a is not equal'
% 'second input does not contain field (base).b'

引用格式

Yanai (2024). isEqualCrawler (https://www.mathworks.com/matlabcentral/fileexchange/34028-isequalcrawler), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0