s.a = 1;
c = fieldnames (s);
iscell (c) && strcmp (c{1}, "a")
