Script struct5.m
Download Script struct5.m
image1_date=image(1).FileModDate
str_date=size(image(2).FileModDate)
%
image(2)=struct('size',[200 20] ,'Filename','clown.bmp',...
'FileModDate',['10-feb-2007 18:02:38'],'FileSize',[100000],'BitDepth',[8],...
'ColorType', 'indexed','Colormap',['256x3 double']);
image(2)
%
image(2).Filename = 'mandrill';
image(2)

Back