time delay

1 回表示 (過去 30 日間)
skyimager
skyimager 2012 年 5 月 28 日
i am receiving continuous data from a sensor. My objective is to ensure that data from my sensor is displayed in my text box in my GUI. This data should get refreshed once in every 2 secs, i.e, my text box should get refreshed automatically once in every 2 secs. How to create a time delay of exactly 2 secs in matlab GUI..?? I have just started using GUI.

回答 (1 件)

per isakson
per isakson 2012 年 5 月 28 日
See: timer Construct timer object.
  2 件のコメント
skyimager
skyimager 2012 年 5 月 28 日
Sir..can u please explain in a little more details...or send some links which i can read. It wil be very helpful. Thank You.
per isakson
per isakson 2012 年 5 月 28 日
it's well described in the on-line help

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by