www.gusucode.com > 《matlab图像处理与界面编程宝典》秦襄培 编著,每章的MATLAB源代码程序 > 第27章/代码27-6.txt
>> s = struct('type', {'big','little'}, 'color', {'red'}, ... 'x', {3 4}) >> s(1) >> s(2)