Display real time clock in Gui

10 次查看(过去 30 天)
Onur Öçalan
Onur Öçalan 2011-6-30
Hello!
I am working on a Gui project and I need to display current time in static text box continuously. I used "date" and "clock" function but I couldn't display it continuously.
Thanks for help .

回答(2 个)

Jan
Jan 2011-6-30
You need a timer for this task.
See also: FEX: stopwatch This function contains a timer, which updates a static text object continously. Look for "timer" in the source code.
  2 个评论
Onur Öçalan
Onur Öçalan 2011-6-30
I consider about this function but i dont understand how to use for my subject.
Jan
Jan 2011-6-30
@Onur: did you get it or do you need more help?

请先登录,再进行评论。


Sean de Wolski
Sean de Wolski 2011-6-30
  4 个评论
Sean de Wolski
Sean de Wolski 2011-6-30
On the FEX homepage listing, and on the version that I have on my laptop (unsure of which one).
Sean de Wolski
Sean de Wolski 2011-6-30
And usage_notes.pdf (I have 47 of 'em, so it's at least that new)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Clocks and Timers 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by