%% Display Information on Specified Variables in MAT-File
% Make a MAT-file object for a file and then using the object, display information on the specified variables in the file.
% Create a MAT-file object for the sample file topography.mat.

matObj = matfile('topography.mat');

% Display information on  variables named topomap1 and topomap2.

whos(matObj,'topomap1','topomap2')

% Copyright 2006 The MathWorks, Inc.