MatLab figure date and time static text
조회 수: 1 (최근 30일)
이전 댓글 표시
checkbox1's callback for date and time:
m=1;
while m==1
m=get(hObject,'value');
txt=datestr(now);
set(handles.datetime,'string',txt);
pause(1);
end
can you please help me to remove the checkbox that if I will push the RUN button the datetime static text will automatically call the date and time.
댓글 수: 5
Walter Roberson
2013년 10월 8일
I think GUIDE is being referred to. And that Lloyd wants the time display to start going as soon as the GUI is launched instead of only after a button is clicked.
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!