I have two structures with multiple fields. I need to compare field A of Structure 1 with field B in structure 2 and find the indices of the same records. For these records, I need to change values in field C in Structure 1 with values in field D in Structure 2. But I am stuck in step 1 of comparing the two fields. I have tried ismember but that didn't work. Is there a simpler way to compare fields in structure?
Thank you.
Best Answer