I want to make a structure to be input of a function and then do some analysis and add some fields to the structure and return the updated version of structure as the ouput of the function. I tried to use:
struct=function updatestruct(struct,...) end
and it did not update the sruct and produced a new strucutre at the output loosing the previously stored data in the struct.
Best Answer