Feeds
已回答
How to create an empty array of structs?
when I pre-allocate the struct array, I do as follows array(1: n)= struct; for iter= 1: n array(iter).a= "anything" ...
How to create an empty array of structs?
when I pre-allocate the struct array, I do as follows array(1: n)= struct; for iter= 1: n array(iter).a= "anything" ...
5 years 前 | 1
