Initilize struct there inferred results will be stored
0001 0002 function [plan_rec_struct] = init_pl_rec_struct 0003 0004 %Initilize struct there inferred results will be stored 0005 comp_strct = struct('CompPol', zeros(1,5) , 'Dicovered', [0 0]', 'CompFor', zeros(1,4)); 0006 platoon_strct = struct('PlatoonPol', zeros(1,4)); 0007 plan_rec_struct = cell(1,4); 0008 plan_rec_struct{1} = comp_strct; 0009 plan_rec_struct{2} = platoon_strct; 0010 plan_rec_struct{3} = platoon_strct; 0011 plan_rec_struct{4} = platoon_strct;