Display real time clock in Gui

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일

1 개 추천

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일

0 개 추천

댓글 수: 4

Sean de Wolski
Sean de Wolski 2011년 6월 30일
To Matt Fig/whoever edited 18 to 17; the contents file on the FEX and the GUIS_FEX downloadable directory is also incorrect?
Matt Fig
Matt Fig 2011년 6월 30일
Hello Sean de, that was me. Are you looking at what you have downloaded or what is on the FEX now? I am looking at what is on the FEX now, and it is GUI_17. I may have changed the numbers around earlier (perhaps unwise, I admit).
http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples/content/contents.m
http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples/content/GUI_17.m
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)

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Clocks and Timers에 대해 자세히 알아보기

질문:

2011년 6월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by