Hi all,
I've got two functions in my code. The output of the first function is a structure of this format:
mystructure.nameofstruct = 'my_array'; mystructure.valueofstruct = myarray; mystructure.outputofstruct = 1;
The output of mystructure.valueofstruct is
mytitle001: 0 mytitle002: 0.56 ... etc up until mytitle040: 0.23
The second function takes in the output of the first one as input, however it seems to be doing it wrong, as the bit my structure.valueofstruct only has the last one "mytitle040: 0.23". I'm not quite sure why, as I would've thought it would take in the whole thing? Any ideas would be appreciated. Thanks.
Also, for more information, mystructure.valueofstruct is also another structure.
Best Answer