Hi Guy Nir,
actually there should be no problem.
s.Field.FieldName = zeros(1,1);
However, if you state your nested struct with brackets ->
then you access with (FieldName) a variable in your workspace. If this does not exist, you receive an error.
If brackets, then it would be like this:
FieldName = ;
s.Field.(FieldName) = zeros(1,1);
Hope I could help!