MatLab figure date and time static text
3 次查看(过去 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 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!