MatLab figure date and time static text
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Lloyd
el 8 de Oct. de 2013
Comentada: Lloyd
el 8 de Oct. de 2013
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 comentarios
Walter Roberson
el 8 de Oct. de 2013
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.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!