isEqualCrawler

Version 1.0.0.0 (1.82 KB) by Yanai
Find if A and B are equals, and if not - why
150 Downloads
Updated 1 Dec 2011

View License

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'

Cite As

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

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on File Operations in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0