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

    %% Display Workspace Variable Information
% Display information about specific variables in the current workspace.
% For example, list information about variables with names that start with 
% the letter |a|.
whos a*

%%
% Now, list information about variables with names that end with |ion|.
whos -regexp ion$