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

首頁 > 學(xué)院 > 開發(fā)設(shè)計 > 正文

Timer(參考matlab help):

2019-11-10 23:58:26
字體:
供稿:網(wǎng)友
創(chuàng)建定時器對象:語法:  T = timer[創(chuàng)建一個默認(rèn)狀態(tài)的定時器對象]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)
上一篇:poj1450

下一篇:最近看的一個小算法

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 太和县| 普陀区| 井研县| 云南省| 隆化县| 丹东市| 桂平市| 兖州市| 界首市| 浦北县| 和田县| 宁波市| 梓潼县| 彰化县| 灵璧县| 石狮市| 原阳县| 龙游县| 恩平市| 建水县| 酒泉市| 民权县| 克拉玛依市| 昌图县| 东兰县| 乐东| 孟村| 石阡县| 阿克| 南阳市| 凤城市| 山东省| 东宁县| 蕲春县| 德昌县| 巍山| 南宫市| 清河县| 都匀市| 曲松县| 浠水县|