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

6 次查看(过去 30 天)
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 个评论
Image Analyst
Image Analyst 2015-12-2
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 2015-12-3
@image analyst ...thank you yes...i wrong page open ...sorry..yes i find ...thanks....i now open and find them....thanks a very lot

请先登录,再进行评论。

采纳的回答

masoud mansouri
masoud mansouri 2015-12-3
编辑:Stephen23 2015-12-3

更多回答(1 个)

Thorsten
Thorsten 2015-12-2
编辑:Thorsten 2015-12-2
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

类别

Help CenterFile Exchange 中查找有关 Clocks and Timers 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by