www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/DisplayConfigurableTimerObjectPropertiesExample.m
%% Display Configurable Timer Object Properties %% % Instantiate a timer object and call the |set| method. % Copyright 2015 The MathWorks, Inc. t = timer; set(t) %% % Some of the timer properties, such as |Running|, are not displayed because % they are read only. %% % Use the |set| method to output a structure. out = set(t) %% % Delete the timer object from memory. delete(t)