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

    %% Open and Run the Example
% To open the example in GUIDE, click the *Open Script* button on this page. 
% To run the app, click the green *Run Figure* button at the top of the GUIDE window.
%
% <<../guideplotworkspace.png>>
%
%%
% When you run the app, the list box displays your current workspace variables.
% Select one variable, and then hold the *Ctrl* key to select a second variable.
% Then click *Plot*, *Semilogx*, or *Semilogy* to plot the variables.