www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/GuideAutoRefreshPlotExample.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.
%
% <<../guideautorefreshplot.png>>
%
%%
% Move the slider to set the refresh interval between 0.01 and 2.0 seconds.
% Then click the *Start Randomizing* button to start adding random noise to the plotted
% function. Click the *Stop Randomizing* button to stop adding noise and
% refreshing the plot.