hello every one ...i need program for clock..or for e.g need code to write clock

6 visualizaciones (últimos 30 días)
my name is Masoud i study M.s mechanic engineer .i don't work for build clock but i use other code to Matlab... thank you for answer this question
  11 comentarios
Image Analyst
Image Analyst el 2 de Dic. de 2015
We don't know what you want. Specifically, you said you searched the File Exchange like John suggested but found nothing. But when I search it ( http://www.mathworks.com/matlabcentral/fileexchange/?utf8=%E2%9C%93&term=clock It brought up lots of clocks. Why don't any of them work? What about Thorsten's answer below, or Jan or Shameer's comments above using simple date and time strings and functions built into MATLAB? What's wrong with them?
masoud mansouri
masoud mansouri el 3 de Dic. de 2015
@image analyst ...thank you yes...i wrong page open ...sorry..yes i find ...thanks....i now open and find them....thanks a very lot

Iniciar sesión para comentar.

Respuesta aceptada

masoud mansouri
masoud mansouri el 3 de Dic. de 2015
Editada: Stephen23 el 3 de Dic. de 2015

Más respuestas (1)

Thorsten
Thorsten el 2 de Dic. de 2015
Editada: Thorsten el 2 de Dic. de 2015
To show the current date and time, use
datestr(now)
If you want to measure the time, you can use tic; toc or clock and etime, as explained in
help etime

Categorías

Más información sobre Clocks and Timers en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by