In order to increase the speed of processing, I am trying to define an array of structures before proceeding to my main code, say, 100×50 arrays of the same structure. How can I define it beforehand?
struct('dir1',{},'dir2',{},'x1',{},'x2',{},'x3',{},'x4',{})
is the following correct?
n1=100;n2=50;data{n1,n2}=struct('dir1',{},'dir2',{},'x1',{},'x2',{},'x3',{},'x4',{})
Thanks a lot for your quick reply 🙂
Best Answer