CompareStructures
Version 1.0.0.0 (2.84 KB) by
Peter O
Function for comparing the fields in a struct datatype
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 LinuxCategories
Find more on Structures in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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.