I am loading a structure into MatLab and I would like to remove a field without losing the contents of that field. I'll explain exactly what I mean nowsince that may be confusing.
After loading the structure
Data.c1 = load(Data.mat);
The output is
I want to effectively convert this to
All the data within the lowest "s" fields would be moved up and take the place of the field Data in the variable Data.
Is there an easy way to do that?