compareStruct

Compare Structs fields
268 Downloads
Updated 1 May 2013

View License

compareStruct compares Structs fields and returns logical 1 (true) if the input structs have the same fields, and logical 0 (false) otherwise, no matter their content.

Cite As

Marco Borges (2026). compareStruct (https://in.mathworks.com/matlabcentral/fileexchange/40124-comparestruct), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Structures in Help Center and MATLAB Answers
Version Published Release Notes
1.3.0.0

v2 : Changes compare struct like Jos (10584) mention

1.2.0.0

Changes suggested by the user Jos (10584) accepted!

1.0.0.0