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