www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/DisplayVariableAttributeInformationExample.m

    %% Display Variable Attribute Information
% Create variables with various attributes, and then display 
% information about them.

%%
% Create a file, |show_attributes.m|, that contains these statements.
%
% <include>show_attributes.m</include>
%

%% 
% Call |show_attributes|. When MATLAB(R) executes the |whos| command 
% at the end of |show_attributes|, it lists each variable and its
% corresponding attribute.
show_attributes