/MATLAB-Structure-Comparison

Visually compare two MATLAB structures

Primary LanguageMATLABBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

screen shot

MATLAB Structure Comparison

Visually compare two MATLAB structures

STRUCTCOMPVIS(s1,s2) opens an HTML differencing report comparing two structures.

This is useful for quickly finding subtle differences between 2 structures. I find it particularly useful when working with large handles structures from GUI applications.

Ex:

% Find which properties are different between two graphics objects
subplot(211);l1 = plot(1:10)
subplot(212)l2 = plot(1:10,'r')
structcompvis(get(l1),get(l2))

View STRUCTCOMPVIS on File Exchange