I want a funtion which give me "0" if dosen't exist a field into a struct and "1" if it exist, something like that:
s=struct("field1",val1,"field2",val2,"field3",val3);exist(s.field1)=1exist(s.field5)=0
existstruct
s=struct("field1",val1,"field2",val2,"field3",val3);exist(s.field1)=1exist(s.field5)=0
Best Answer