1try 2 load test_write_cell_empty_struct.mat 3 expdata{1,1} = struct('field1',[51.,52.;53.,54.],'field2',[],'field3',[]); 4 expdata{1,2} = expdata{1,1}; 5 expdata{1,3} = expdata{1,1}; 6 pass = isequal(var1,expdata); 7catch me 8 pass = false; 9end 10if pass 11 fprintf('PASSED\n'); 12else 13 fprintf('FAILED\n'); 14end 15exit; 16