www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/NestedStructureExample.m
%% Nested Structure % Create a nested structure. |a| is a structure with a field which contains % another structure. %% a.b = struct('c',{},'d',{}) %% % View the names of the fields of |a.b|. fieldnames(a.b)