time delay

2 views (last 30 days)
skyimager
skyimager on 28 May 2012
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.

Answers (1)

per isakson
per isakson on 28 May 2012
See: timer Construct timer object.
  2 Comments
skyimager
skyimager on 28 May 2012
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 on 28 May 2012
it's well described in the on-line help

Sign in to comment.

Categories

Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!