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

首頁 > 學院 > 開發設計 > 正文

Timer(參考matlab help):

2019-11-11 00:55:16
字體:
來源:轉載
供稿:網友
創建定時器對象:語法:  T = timer[創建一個默認狀態的定時器對象]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)
上一篇:TreeSet

下一篇:371. Sum of Two Integers

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 长兴县| 隆尧县| 芒康县| 甘德县| 辽宁省| 砀山县| 孝义市| 江油市| 友谊县| 建宁县| 宣化县| 旅游| 城步| 绥阳县| 西林县| 崇左市| 桂阳县| 长丰县| 海晏县| 涟源市| 淅川县| 奉新县| 成安县| 连州市| 娱乐| 绩溪县| 精河县| 保德县| 永吉县| 齐齐哈尔市| 广西| 丽江市| 阿拉尔市| 通海县| 通许县| 北京市| 巴里| 呼图壁县| 白银市| 嘉善县| 松阳县|