@rm-rf sorry, I am not following you. but that may be becuase I need more coffee.
I am simply putting an X inside the struct, and then reading this X back. I compare X before I put it in the struct, with the X in the struct. I would think they would be the same thing, right?
I will re-write the same thing different way, I do not think I wrote things before in a clear way:
clear all;
A = {'A' 'a';'B' 'c'};
X = {A(:,1)'};
Now I will put this X in a struct. Then compare this X once it is in the struct to see if it changed: