Structured variables are good for organizing and manipulating data, but they are hard to work with when checking for errors or diffs.
The function allows each field of a structure to be checked against a corresponding field in a separate structure.
Here are some key features of "Compare Structures":
Possible outcomes:
· Fields agree (both exist and have the same content)
· Fields do not agree (both exist but contents / values are different)
· Field exists in only one structure
· Field type differs (variable class disagreement)
Requirements:
· MATLAB 7.4 or higher