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.

Risposte (1)

per isakson
per isakson il 28 Mag 2012

0 voti

See: timer Construct timer object.

2 Commenti

skyimager
skyimager il 28 Mag 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 il 28 Mag 2012
it's well described in the on-line help

Accedi per commentare.

Richiesto:

il 28 Mag 2012

Community Treasure Hunt

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

Start Hunting!

Translated by