How do I compare two structs for equality in octave (or matlab)?
Attempting to use the == operator yields:
binary operator `==\' not implemented for
I would just write a function isStructEqual(struct1,struct2)
that performs regular comparisons on all of the member attributes. If any such comparison returns 'false' or '0', then immediately exit and return 'false', otherwise if it makes it all the way through the list of member attributes without that happening, return true. If the struct is extremely large, there are ways to automate the process of iterating over the member fields.
Looking on the central file exchange, you might try this file.