Compare Structures
Compares two structured variables recursively and notes where the two structures are different.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
michael arant (2026). Compare Structures (https://uk.mathworks.com/matlabcentral/fileexchange/22752-compare-structures), MATLAB Central File Exchange. Retrieved .
General Information
- Version 2.0.0 (7.78 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 2.0.0 | New version where results are reported as structures (matches, err1, err2). Results can be expanded with list_struct. |
||
| 1.3.0 | This is an update of the code to provide better lists of the errors encountered. |
||
| 1.1.0 | This is a scratch re-write of the code taking advantage of new abilities in MATLAB. This version should be more usable. |
||
| 1.0.0 |