time delay

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

0 个投票

See: timer Construct timer object.

2 个评论

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.
it's well described in the on-line help

请先登录,再进行评论。

提问:

2012-5-28

Community Treasure Hunt

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

Start Hunting!

Translated by