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

    %% Obtain Properties for Array of Timers  
%% 
% Create three timers. 

% Copyright 2015 The MathWorks, Inc.

t1 = timer;
t2 = timer;
t3 = timer;  
%% 
% Get properties of an array of timers. 
V = get([t1,t2,t3])  
%% 
% Delete the timers from memory. 
delete([t1,t2,t3])