CompareStructures

Version 1.0.0.0 (2.84 KB) by Peter O
Function for comparing the fields in a struct datatype
84 Downloads
Updated 30 Oct 2015

CompareStructures is a broad-stroke inspection function for the 'struct' datatype within MATLAB.
Specifically, it will inspect two structures for equality, and if they aren't equal, it will enumerate which fields are different and which exist only in one of the two structs. If the fields are scalars, their values are displayed. Otherwise, their class and size are displayed.

Cite As

Peter O (2024). CompareStructures (https://github.com/poregan/compare-structures), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Structures 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!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.