www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/AccessDataInAStructureArrayExample.m
%% Access Data in a Structure Array %% Load image % Copyright 2015 The MathWorks, Inc. S = load('clown.mat') %% Display image image(S.X) colormap(S.map) %% zoom image upperLeft = S.X(1:50,1:80); image(upperLeft);