Files
matlab-learning/structdata.m
2025-10-10 17:29:33 +08:00

11 lines
243 B
Objective-C

total.name='23';
total.x=78354.344;
total.y=89342.333;
total.h=437.557;
total.code='0203';
total(2) = struct('name','23','xyh',[78354.344,89342.233,437.557],'code','0203')
total(1).x=76434.455;
disp(total)
total(1)=[]
rmfield(total(1),'code')