In matlab, the function struct allow to pre-allocate a structure like this
S = struct(field1,{},field2,{},...,fieldN,{})
But I need S to be a vector of structures of let's say a length of 100, and I don't know how to do that. I want to do this so that later I can assign
S(60).field1=1234;
Without making S to change size as a consequence of the assignment.