%% Nested Structure
% Create a nested structure, where a is a structure with a field that contains another structure.

a.b = struct('c',{},'d',{})

%
% View the names of the fields of a.b.

fieldnames(a.b)

% Copyright 2012 The MathWorks, Inc.