Display structures with differences

Function to display in the command line array of structures and mark different field values.

You are now following this Submission

This function takes as parameter an array of struct and searches for differences in the same field. The output is column formatted in which the differences are marked.

Cite As

Alessandro Toso (2026). Display structures with differences (https://www.mathworks.com/matlabcentral/fileexchange/13754-display-structures-with-differences), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

This version has been updated to display correctly numeric fields (nxm matrix), strings but not substructures. As suggested the use of getfield as been avoided to the more efficient dynamic filed name mechanism.