国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 學(xué)院 > 開(kāi)發(fā)設(shè)計(jì) > 正文

Timer(參考matlab help):

2019-11-11 02:12:54
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
創(chuàng)建定時(shí)器對(duì)象:語(yǔ)法:  T = timer[創(chuàng)建一個(gè)默認(rèn)狀態(tài)的定時(shí)器對(duì)象]T = timer('access arguments passed to it.t.StartFcn = {'my_callback_fcn', 'My start message'};3、Specify the value of the StopFcn callback. The example specifies the callback function by its handle, rather than as a text string. Again, the value is specified in a cell array because the callback function needs to access the arguments passed to it.t.StopFcn = { @my_callback_fcn, 'My stop message'};4、Specify the value of the TimerFcn callback. The example specifies the MATLAB commands in a text string.t.TimerFcn = @(x,y)disp('Hello World!'); 5、Start the timer object.start(t) The example outputs the following.StartFcn event occurred at 10-Mar-2004 17:16:59 My start message Hello World! Hello World! StopFcn event occurred at 10-Mar-2004 17:16:59 My stop message 6、Delete the timer object after you are finished with it.delete(t)
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 穆棱市| 高要市| 昌吉市| 施秉县| 双城市| 濮阳市| 青铜峡市| 射洪县| 二手房| 卢湾区| 玉田县| 乳源| 班戈县| 县级市| 丘北县| 南丰县| 肥乡县| 永春县| 博客| 福清市| 海南省| 中卫市| 偏关县| 商都县| 清丰县| 霍山县| 肥东县| 沂水县| 庆云县| 宝山区| 临潭县| 来凤县| 浦城县| 章丘市| 杂多县| 博湖县| 孟村| 泊头市| 杂多县| 武隆县| 寿宁县|